Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.

You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.

This is yet another tray hotkey. The idea this time is a hotkey dedicated to launching a single shortcut, or data file, or exectuable/batch file. If you have one thing that you open constantly but you don't want to mouse for it or use a spot on the Super Bar or whatnot, you can use this to have it launch with a function key press.

Default hotkey is F11. Hotkey can be changed via Tray Menu or by command line param. Pressing the hotkey before the launch file has been initialized, or using the Set Shortcut or File to Launch command in the Tray Menu, brings up an input box. Simply type in or paste the path to the file/shortcut.

I tried a file open dialog first, but it was a pita navigating to start menu or program files etc. I thought the simple Input Box was better since you can just use Explorer Copy As Path command or just type the path in manually. The nice thing is it doesn't care about quotes. You can Copy As Path then Paste and just leave the double quotes on if you like.

On program quit, it writes OneKey.ini in the same folder as the exe to save hotkey and path info.

Data files open with the appropriate program via Windows file type association.

A number of applications seem to use F11 for full-screen mode (e.g. IE, Firefox, Chrome, Opera, jEdit, SpeedCrunch, VLC)...it seems like it might be developing into a kind of convention.

You can easily set it to a different function key using Set Keyboard Hotkey command in Tray Menu. Also the hotkey deoesn't have to be one key. That's just the way I want to use it. You can change it to Atl-F11 or Control-Shift-r or whatever using the same tray command. The limitation is hotkeys that AHK understands as input. For instance to set the hotkey on the command line to Control-F10 use "^F10" on the command line(without the quotes.)

Once you set it the .ini file remembers it. It's not like you have to set it every time. There's too many hotkeys out there to totally avoid conflicts esp. when only using one key.

edit: otoh you make a good point. F10 seems to be open at least in browsers. I'll set that as default in next release.

Something like you want is easy if you hard code the programs in as below. The "DesktopGroup" stuff limits the hotkeys to when the Desktop is the active window. That avoids interfering with other programs. The "+" sign before the function key means you are holding down the Shift key. See AutoHotkey_L help for particulars. Make sure you end every list of statements for each hotkey with "return" or else it will drop through and execute everything listed below it.

You might want to use something other than function keys since they're likely to conflict with other apps. Experimentation is best. This is just to get you started. Also see:

OneKey 2.0.3.0 Minor code tweaks. Now includes all AHK_L source. You can get the icons used by running OneKey_IconInst.exe to unpack them. OneKey.exe runs that app so that it doesn't need to store all the icons in the OneKey.exe file. Just makes it a tad smaller in memory sitting in the tray.