Can someone tell me why it does not work?
Posted: 30 Mar 2018, 10:14
Can someone tell me why this code is not working?
Code: Select all
!u::
Gui Submit, NoHide
Loop
{
if ((PixelSearch, OutputVarX, OutputVarY, 0, 0, A_ScreenWidth, A_ScreenHeight, 0x15B96E) = true)
;If ErrorLevel = 0
{
MsgBox, 1
SoundBeep, 750, 500
sleep 200
Send, {end}
Click, %OutputVarX%, %OutputVarY%
sleep 1500
}
}