作者pierli (Pier起來)
看板EzHotKey
標題Re: [AHK-] 想請教迴圈輸入數值(每次-1)
時間Sat Mar 28 17:39:03 2020
StartCounter := 79
loop
{
MouseClick, Left, 143, 430, 2
Sleep, 200
SendInput, %StartCounter%
Sleep, 200
MsgBox, 4,, 是否更改?
IfMsgBox Yes
{
MouseClick, Left, 600, 700
StartCounter--
}
Else
MouseClick, Left, 400, 200
If (StartCounter <= 0)
Break
}
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 39.8.126.127 (臺灣)
※ 文章網址: https://webptt.com/m.aspx?n=bbs/EzHotKey/M.1585388345.A.8CD.html
1F:推 sworder12: 謝謝!可用!! 03/31 15:12