
AppsKeyAutoHotKey プログラムを使用して、(コンテキスト メニュー キー) または他のキーを修飾子として使用することは可能ですか?
答え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