Code: Select all
loop {
PixelSearch,,, 340, 62, 340, 62, 0xA00415, 100
if (!ErrorLevel = 0)
{
Send {F2}
sleep 100
send {f2}
}
}
return
F10::exitapp
Code: Select all
loop {
PixelSearch,,, 340, 62, 340, 62, 0xA00415, 100
if (!ErrorLevel = 0)
{
Send {F2}
sleep 100
send {f2}
}
}
return
F10::exitapp
Code: Select all
wTitle = Memu
Loop {
WinWait, %wTitle%
SetTimer, Memu, 300
SoundBeep, 1800
WinWaitClose
SetTimer, Memu, Off
SoundBeep, 1000
}
Memu:
SoundBeep, 1500
PixelSearch,,, 340, 62, 340, 62, 0xA00415, 100
If !ErrorLevel ; Skip if pixel was found
Return
SetKeyDelay, 100
ControlSend,, {F2 2}, %wTitle%
Return
Users browsing this forum: No registered users and 47 guests