为什么我不能让 msgbox 在 while 循环中出现?
Why I can't get msgbox to show up in a while loop?
MButton::
Send {LWIN down}{TAB down}{LWIN up}{TAB up}
while GetKeyState("MButton")
{
Msgbox 1
}
return
我是Ahk的新手,希望有人能指教我的错误。
使用"p" parameter获取按钮的实际p物理状态:
GetKeyState("MButton","p")
MButton::
Send {LWIN down}{TAB down}{LWIN up}{TAB up}
while GetKeyState("MButton")
{
Msgbox 1
}
return
我是Ahk的新手,希望有人能指教我的错误。
使用"p" parameter获取按钮的实际p物理状态:
GetKeyState("MButton","p")