FireKey2
Create system wide hotkeys to run programs or perform other tasks.
Created by Rob Saunders (rob@therks.com / http://therks.com)
Written in the AutoIt (v3) scripting language (http://www.autoitscript.com)
Contents:
- Special thanks
- Creating a hotkey (quick and dirty)
- Creating a hotkey (thorough explanation)
- Options menu
- Limitations
- History
Special thanks:
- The AutoIt developers.
- Erik Pilsits (wraithdu) for "_AudioEndpointVolume.au3" (Link) which provides volume control in Vista+ systems.
- Austin Beer (asbeer450) for "_SoundGetSetQuery.au3" (Link no longer available) which provides volume control in pre-Vista systems.
- Yashied for "_Yashied_HotKey_21b.au3" (Link) which provides the virtual key hotkey method.
Creating a hotkey (quick and dirty):
- Double click the FireKey2 icon in the system tray.
- Click Add HotKey
- Click Choose and choose a key combination.
- In the Path field, enter the path to file you want to run.
- Click OK.
Creating a hotkey (thorough explanation):
- Double click the FireKey2 icon in your system tray (the area near the clock). The main FireKey2 window will appear.
- Click the Add HotKey button at the bottom of the window. The Add/Edit HotKey window will appear.
- Click the Choose button at the top of the window and decide what key combination you'd like to use.
If the Detect Key button is selected then the program will try to auto select whatever key combination you press (some combinations cannot be detected).
Otherwise, click the buttons for each modifier (Win, Alt, etc) you want to use and then choose the base key from the drop down list.
For example, if you want to use the number pad asterisk (*) plus the Windows and Control keys you would click Win, Ctrl, and then choose NumPad Multiply from the list.
Then click OK.
Now the key combination you chose should be displayed in the box at the top of the window.
Note: Some hotkey combinations (Win+R, Win+E, etc) will be in use and blocked by Windows or other applications.
If the program detects you have chosen a blocked hotkey it will warn you and you may choose another.
Alternatively, you can try to use the virtual key method which is explained further below.
- If you are worried about accidentally pressing this hotkey and doing something you don't want (like shut down your computer or start a slow program) then you can check the box for
Confirm before performing function and you will be shown a confirmation dialog when you press the hotkey.
This is recommended for functions like Hibernate or Shutdown.
- Sometimes you may want to use a hotkey combination that is already in use by another program or by Windows itself. In this case try checking off the Use virtual key hook box as you
define your hotkey. Most hotkeys will work using this method but the program may have issues if you press the key repeatedly, or if something makes the program delay (like a confirmation
prompt) and the original hotkey may leak through. Unfortunately I have no fix for this.
ie: If you set a virtual hotkey to Win+E, then spam the hotkey, Windows Explorer will probably open a few times.
- Now choose the function you want to execute when you press your hotkey. There are a variety of functions here like volume adjust (raise/lower, mute), window manipulation (maximize, minimize),
power options (log off, shutdown, hibernate) and some functions specific for FireKey (open/toggle the key list, shutdown FireKey).
- Some function details:
- If you want to launch a program or open a file/folder, choose Run.
In the Path field below, type the location of whatever you want to run, or click one of the buttons on the end to browse for it.
· If you want to browse for a file click the first button, if you want to browse for a folder click the second.
If you are launching a program and not a file then any command line options you want to specify must be entered in the Parameters field.
The working directory, or "Start in" folder, can be specified in the Working Dir field, and the Window drop down list will allow you to select
how the window should appear when the program is launched (not all programs respect this setting).
- If you want to raise, lower or mute the system volume, choose Volume Adjust.
If you want to adjust the volume, check the Amount selector below and then enter how much you want the volume to change on each key press.
The amount is based on 100 being full volume and 0 being silent. So if you want to go from full volume to silence in 4 key presses then you could enter -25.
If you want a visible meter that shows the volume level whenever the adjustment is made you can check the Display Meter box.
If you just want to toggle muting the volume then check the Toggle Mute selector.
- When you have finished selecting and configuring the function for your hotkey click OK and your hotkey will now be usable and you will be returned to the key list window.
Options menu:
- Version info.
- View Readme
Opens this file.
- Run on Login
Automatically run FireKey when you login.
- Shutdown
Shuts down FireKey - this will disable your hotkeys.
- More Options
- Reload Keys
Manually reload the hotkey data file.
- Confirm Shutdown
Toggle the prompt when you exit FireKey via menus.
- Confirm Key Delete
Toggle the prompt when you delete hotkeys.
- Show Tray Icon
Toggle the FireKey icon in the system tray (opening the program again will display the window if it is hidden).
- Show Tray Tip On Key Error
Toggle the display of a popup whenever a hotkey is in use by another application.
- Show Splash Screen
Toggle the splash screen (disable for faster loading).
- Set Priority
Set the main program priority.
Low is the default, and recommended, but if the program or your hotkeys seem unresponsive then you can try a higher priority.
- Advanced Options
- AutoIt version info (the language used to create this program)
- View Source Code
Opens a text file with the source code.
- View Error Log
Opens the error log for viewing.
- View Data Folder
Opens the data file folder (config files, error log, etc).
- Delete Data
Delete all FireKey2 config data, use this if you are removing the program or just want a clean start.
Limitations:
The number pad Enter key cannot be differentiated from the normal Enter key so any hotkey that uses Enter can be triggered by both the number pad and main Enter keys.
The following keys/combos cannot be used:
- Ctrl+Alt+Del - You can use the virtual key option and the command will execute but the normal Windows menu will appear first.
- Two or more "base" keys (Q+W, F2+D, Down+Delete+Enter, etc).
- Any modifiers (Alt/Ctrl/Shift/Win) without a "base" key.
History:
I wrote the first FireKey for myself to replace a program called WinKey. WinKey was nice, but limited in that it only had support for a preset list of key combinations.
For example, you couldn't create hotkeys with punctuation or the Alt key. FireKey allowed just about any combination of modifiers and a base key.
I originally started rewriting FireKey back in late 2006 but kept losing interest and motivation and instead patched in hacky fixes to the original code.
I worked on it off and on for a while and finally "finished" it at work during a rather long and boring night shift.
I still tinker with it now and then, but there's not much left I can do with it.