F5::
Loop{
PixelGetColor, color_e, 721, 491, RGB
if ( color_e = "0xFFFFFF" ) {
Send, {vk45}
sleep, 10
}
else
PixelGetColor, color_y, 720, 487, RGB
if ( color_y = "0xF9F9F9" ) {
Send, {vk59}
sleep, 10
}
else
PixelGetColor, color_f, 725, 470, RGB
if ( color_f = "0xFFFFFF" and color_e != "0xFFFFFF" ) {
Send, {vk46}
sleep, 10
}
color_e := " "
color_y := " "
color_f := " "
}
F8:: ExitApp
F7:: Reload