03-21-2018, 07:18 PM
This short tutorial will show you how to create a keyboard shortcut using AutoHotkey code in ShortKeeper.
Note: ShortKeeper includes AutoHotkey (as a shortcut processor). At the end of this tutorial, you could close ShortKeeper, and AutoHotkey will continue processing your keyboard shortcut(s) in the background. ShortKeeper is only needed to add/modify/delete shortcuts, manually start/stop AutoHotkey, and set certain operating options.
That’s it! Pressing the defined hotkey will trigger your shortcut (if AutoHotkey is running).
If AutoHotkey is not running, just start it with the Start/Stop AutoHotkey button. It is possible to set an option (in the "Option" tab) to start AutoHotkey automatically at Windows start-up. There is also an option to start AutoHotkey automatically when ShortKeeper starts. A small hand icon in the system tray, usually at the bottom right of the screen, will indicate that AutoHotkey is active.
Note: ShortKeeper includes AutoHotkey (as a shortcut processor). At the end of this tutorial, you could close ShortKeeper, and AutoHotkey will continue processing your keyboard shortcut(s) in the background. ShortKeeper is only needed to add/modify/delete shortcuts, manually start/stop AutoHotkey, and set certain operating options.
- In the left column, select the command "Run AutoHotkey code".
Note: The order of commands in the list can change. The Up/Top/Dn/Bot buttons at the bottom of the list let you move up your most useful command(s).
- In the center column, click the button New.
Note: If you don’t click New you will be editing the selected shortcut in the right-hand column instead of creating a new one.
- In the DESC field (center column), type something to identify your shortcut.
- In the PARAM field, paste a script or any AHK code.
- In the HOTKEY section, define a hotkey to trigger your shortcut.
- Finally, click Save.
That’s it! Pressing the defined hotkey will trigger your shortcut (if AutoHotkey is running).
If AutoHotkey is not running, just start it with the Start/Stop AutoHotkey button. It is possible to set an option (in the "Option" tab) to start AutoHotkey automatically at Windows start-up. There is also an option to start AutoHotkey automatically when ShortKeeper starts. A small hand icon in the system tray, usually at the bottom right of the screen, will indicate that AutoHotkey is active.