是否可以AppsKey使用 AutoHotKey 程序使用(上下文菜单键)或其他键作为修饰键?
答案1
我不太了解 AHK 脚本,所以如果有任何错误,任何人都可以修复它,这是来自这里。
;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
或者你可以这样做...
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