Is it possible to use AppsKey or other keys as modifier
Is it possible to use AppsKey (context menu key) or other keys as modifier using AutoHotKey program?
Solution 1:
I don't know much about AHK scripting so if there anything wrong anyone can fix it and this is from here.
;Try out new hotkey mappings (Ctrl+Appskey+'R')
AppsKey & r::
if not GetKeyState("Control")
; Neither the left nor right Control key is down.
return ; i.e. Do nothing.
msgbox, hello... ctrl appskey r
return
Or you can do this...
AppsKey & Ctrl:: ; AppsKey, then Ctrl
^AppsKey:: ; Ctrl, then AppsKey
Hotkey, *r, ^@r, On
; additional hotkeys can be enabled here.
return
AppsKey & Ctrl Up:: ; Modifier(s) released
^AppsKey Up::
Hotkey, *r, Off
; additional hotkeys must be disabled here.
return
^@r: ; Label for identification only, can be anything.
msgbox, hello... %A_ThisLabel%
return