在触发逻辑上,好像是一致的?都不会影响空格和a键的功能?
其他方面,例如在性能上会有区别吗?
写法1:
Code: Select all
~Space & a::
Send, "Custom_Code"
return
Code: Select all
a::
If GetKeyState("Space")
{
Send, "Custom_Code"
}
return
Moderators: tmplinshi, arcticir
Code: Select all
~Space & a::
Send, "Custom_Code"
return
Code: Select all
a::
If GetKeyState("Space")
{
Send, "Custom_Code"
}
return
Code: Select all
SendInput {Text}Custom_Code
Code: Select all
#If GetKeyState("Space", "P")
a::SendInput Custom_Code
#If
Users browsing this forum: No registered users and 10 guests