AutoHotKey 如何在按下 ctrl+shift+1+2 时发送键
AutoHotKey How to send keys when pressing crtl+shift+1+2
我想在按下时发送按键
crtl+shift+1+2
crtl+shift+1+3
crtl+shift+1+4
但是如何使用两个数字执行快捷方式?
^+12::Send ...
无效
#If ( GetKeyState("ctrl") && GetKeyState("shift") ) ; && means logical-AND
1 & 2::MsgBox, crtl+shift+1+2
1 & 3::MsgBox, crtl+shift+1+3
#If ; turn off context sensitivity
请参阅文档中的 Custom Combinations, GetKeyState(), #If directive, and & operator。
我想在按下时发送按键
crtl+shift+1+2
crtl+shift+1+3
crtl+shift+1+4
但是如何使用两个数字执行快捷方式?
^+12::Send ...
无效
#If ( GetKeyState("ctrl") && GetKeyState("shift") ) ; && means logical-AND
1 & 2::MsgBox, crtl+shift+1+2
1 & 3::MsgBox, crtl+shift+1+3
#If ; turn off context sensitivity
请参阅文档中的 Custom Combinations, GetKeyState(), #If directive, and & operator。