可切换的热键
如果滚动锁定处于活动状态,则以下脚本在热键按下时输入预定义字符串如果你经常粘贴多个重复字符串,这可能很有用。包含用于脚本刷新的热键(例如,如果你需要编辑可粘贴的字符串)。
; refresh script hotkey
Numpad9::
GetKeyState, state, ScrollLock, T
if ( state = "D" )
Reload
Return
Numpad1::
GetKeyState, state, ScrollLock, T
if ( state = "D" )
Send, Hello
Return
Numpad2::
GetKeyState, state, ScrollLock, T
if ( state = "D" )
Send, World
Return
;...