Anyone know why?
Code: Select all
AutoLVLup
#NoEnv
SetWorkingDir %A_ScriptDir%
CoordMode, Mouse, Window
SendMode Input
#SingleInstance Force
SetTitleMatchMode 2
#WinActivateForce
SetControlDelay 1
SetWinDelay 0
SetKeyDelay -1
SetMouseDelay -1
SetBatchLines -1
~\::
Macro1:
SetTimer, Macro1, 1000
Loop
{
CoordMode, Pixel, Window
PixelSearch, FoundX, FoundY, 510, 618, 717, 680, 0xFFF56B, 0, Fast RGB
}
Until ErrorLevel = 0
If ErrorLevel = 0
{
Send, {LControl Down}{r}{LControl Up}
Sleep, 10
Send, {LControl Down}{q}{LControl Up}
Sleep, 10
Send, {LControl Down}{e}{LControl Up}
Sleep, 10
Send, {LControl Down}{w}{LControl Up}
}
Return
F8::ExitApp
F12::Pause