Hello,
I would like to create an application wide keyboard shortcut for a Java Swing application.
Looping over all components and adding the shortcut on each has focus related side effects and looks like a brute force solution.
Anyone has a cleaner solution ?
Regards,
Louis
...
Hello,
I'm a VMware user and far too often I use keyboard shortcuts while programming. However, this has proved to be quite distressing as sometimes the VMware gets hold of it and turns off / pauses (ctrl+Z) the virtual machine.
Is there a way to disable keyboard shortcuts on VMware? Has anyone here ever found a workaround?
...
I've read and followed YUI's tutorial for subscribing to Menu events. I also looked through the API and bits of the code for Menu, MenuBar, and Custom Events, but the following refuses to work
// oMenuBar is a MenuBar instance with submenus
var buyMenu = oMenuBar.getSubmenus()[1];
// this works
buyMenu.subscribe('show', onShow, {foo: ...
Hi,
How to remove a shortcut file in c#,how to remove the program icon from the Programs folder?.
Redards,
Harsh Suman
...
How do you create an application shortcut (.lnk file) in C# or using the .NET framework?
The result would be a .lnk file to the specified application or URL.
...
As stated in the title, I need double shortcut keys for my application (ie. as Ctrl-k Ctrl-k is the Toggle Bookmark key in VS.NET ). I wonder if any of you has found a solution for this in Delphi? I suspect by modifying the very core of VCL one might do but is there any easier way?
...
Does anyone know how you setup new commands to launch an application from the Start->Run box?
ie. you can type "firefox", "winword" or "excel" into the Run box and those applications will open even though they're not in the system path, but others won't. For example, with Firefox, there's no files named firefox.* in any of my system pat...
Problem: There are a bunch of .lnk files on C drive that point to the J: drive, but the J: drive is gone the P: drive has replaced it. Various tricks have been done to get the .lnk files to still work anyway, but it's getting annoying and it's time to just fix the things.
Question: Using Ruby, Python, WSH.JScript or Perl, can you iterat...
I need to extract the icon from a windows shortcut (.lnk) file (or find the icon file, if it's just pointed to by the shortcut).
I'm not asking about extracting icons from exe's, dll's, etc. The shortcut in question is created when I run a installation program. And the icon displayed by the shortcut is not contained in the .exe that t...
Hi, I'm trying to read the target file/directory of a shortcut (.lnk) file from Python. Is there a headache-free way to do it? The .lnk spec [PDF] is way over my head.
I don't mind using Windows-only APIs.My ultimate goal is to find the "(My) Videos" folder on Windows XP and Vista. On XP, by default, it's at %HOMEPATH%\My Documents\My Vi...
Problem: I have to support users who need to edit web pages. Some of these web pages exist only as textarea controls. Fortunately, there is a firefox plugin that allows the user to open the textarea in a default text editor. Unfortunately, this plugin requires you to point to the EXE file of the text editor you want to invoke.
This is a...
I'm normally a Linux guy, but I need to write a batch script on Windows to change the target of some shortcuts. Is there a command to do that?
...
Is there any way to get a system-wide (global) keyboard shortcut to
perform an action in a Java application?
Any AWT/Swing bindings?
...
I have an internet shortcut on my desktop, with the contents looking like this:
[InternetShortcut]
URL=http://www.microsoft.com/isapi/redir.dll?prd=ie&pver=6&ar=IStart
Modified=D03458CE7738C801A2
I was wondering if there are any tweaks I can do to guarantee that the browser starts maximized after someone loads the link.
Thank...
Is there a way through code, or through the creation of a setup project (via VS), to create a desktop shortcut with a keyboard shortcut pre-defined?
...
EDIT!
Sorry to change the question on everyone, but I am really just asking:
How do I create a shortcut (.LNK) file from the command line with as little outside help as possible? I really don't want to run a VBscript or to download a program to do it for me. Is it really that hard?
Thanks to everyone who provided exceptional answers...
Hi
I'm creating the installer for a Silverlight app of ours. The app will run on the local machine, in internet explorer in kiosk mode and will be started from a desktop shortcut.
I'm having trouble creating the shortcut with my Setup Project in VS 2008. What I need to end up with is a shortcut on the desktop with this
"C:\Program Fi...
Hello,
In my program it adds a shortcut to the screen. I get the icon on the screen fine, but when I tap it, I get:
03-01 20:00:29.410: ERROR/AndroidRuntime(796): java.lang.SecurityException: Permission Denial: starting Intent { data=http://www.example.com/ flags=0x14000000 comp={com.isaacwaller.example/com.isaacwaller.example.ExampleCu...
I was wondering if there's a way to create a web shortcut on the desktop with a icon loaded in from the such as using the FavIco.ico?
...
Webbrowser Control in my .NET Windows Form application is stealing shortcuts when on focused. To able to use Alt + F4 I had to click a control first.
Currently "WebbrowserShortcuts = false" but it's still same.
Is there a way to stop this irritating behaviour?
...