Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- SnowFlake
- Special Keys
- --------------------
- If your keyboard or mouse has a key not listed above, you might still be able to make it a hotkey by using the following steps (requires Windows XP/2000/NT or later):
- Ensure that at least one script is running that is using the keyboard hook. You can tell if a script has the keyboard hook by opening its main window and selecting "View->Key history" from the menu bar.
- Double-click that script's tray icon to open its main window.
- Press one of the "mystery keys" on your keyboard.
- Select the menu item "View->Key history"
- Scroll down to the bottom of the page. Somewhere near the bottom are the key-down and key-up events for your key. NOTE: Some keys do not generate events and thus will not be visible here. If this is the case, you cannot directly make that particular key a hotkey because your keyboard driver or hardware handles it at a level too low for AutoHotkey to access. For possible solutions, see further below.
- If your key is detectible, make a note of the 3-digit hexadecimal value in the second column of the list (e.g. 159).
- To define this key as a hotkey, follow this example:
- More Informaion here:
- http://www.kbdedit.com/manual/low_level_vk_list.html
- http://msdn.microsoft.com/en-us/library/windows/desktop/ms646306(v=vs.85).aspx
- http://msdn.microsoft.com/en-us/library/ms892480.aspx
- http://www.autohotkey.com/docs/KeyList.htm
- VK = Viritual Keys
- SC =Scan Codes
- VK = 6B
- SC = 04E
- ^ = CTRL
- 04E = +
- ^SC04E = CTRL+
- */
- #InstallKeybdHook
- #SingleInstance force
- ^SC04E::MsgBox, You Hold CTRL and pressed +
Advertisement
Add Comment
Please, Sign In to add comment