Code: Select all
/::
Send, {F3}
Sleep, 150
Send, google{ESC}
Sleep, 100
;first pixel search coords
PixelSearch, Px, Py, 650, 187, 1446, 812, 0x3296FF, 0, Fast
MouseMove, %Px%, %Py%
Sleep, 100
;2nd pixel search coords
PixelSearch, Px, Py, %Px%, %Py%, 1000, 5, R, 0xE0E0E0, 0, Fast
; Mouse move to the new Px, Py area where the 0xE0E0E0 (grey) color is located.
MouseMove, %Px%, %Py%
MouseClick, left