shortcut

Application wide keyboard shortcut - Java Swing

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 ...

Horrible VMware keyboard shortcuts

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? ...

Am I subscribing to YUI Menu events improperly?

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: ...

How to remove a shortcut file in c#

Hi, How to remove a shortcut file in c#,how to remove the program icon from the Programs folder?. Redards, Harsh Suman ...

creating application shortcut in a directory

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. ...

Can Delphi applications have double shortcut keys like Visual Studio? (ie. Ctrl-k Ctrl-k)

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? ...

How do you add Start->Run shortcuts in Windows XP?

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...

reformatting windows lnk file via automated script

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...

Extract Icon from Windows .lnk (shortcut) file.

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...

Reading the target of a .lnk file in Python?

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...

Expression Web: Shortcut doesn't point to an exe file, but I want to use it to edit

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...

Change a shortcut's target from command prompt

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? ...

Java System-Wide Keyboard Shortcut

Is there any way to get a system-wide (global) keyboard shortcut to perform an action in a Java application? Any AWT/Swing bindings? ...

Windows internet shortcuts: starting with IE maximized?

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...

Programmatically create shortcut keys combo for desktop "shortcut"

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? ...

What is the native way to create a shortcut (.LNK file) from the Windows XP command line?

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...

Creating a shortcut to IE in a Visual Studio Setup Project

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...

Android homescreen shortcut permission error

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...

Is there a way to change a web shortcut/bookmarks icon on the desktop

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 stealing shortcuts

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? ...