Re: [請問] 我要如何用AHK實現啟動和暫停

作者: liquidbox (樹枝擺擺)   2024-07-28 19:48:37
簡單用message box顯示hello world,
請將大括號中的msgbox跟winclose換成其他的
#Persistent
SetTitleMatchMode, 2
IfWinActive/IfWinExist
toggle := false
F5::
toggle := !toggle ; Toggle the state
if (toggle)
{
MsgBox, Hello World
}
else
{
WinClose, Hello World
}
return

Links booklink

Contact Us: admin [ a t ] ucptt.com