Do
GetColor = GetPixelColor(610,669)
If GetColor = "22201B" Then
KeyDown "Alt", 1
KeyPress "F12", 1
KeyUp "Alt", 1
ElseIf GetColor = "B0B09" Then
KeyDown "Alt", 1
KeyPress "F12", 1
KeyUp "Alt", 1
MoveTo 570,395
Delay 300
LeftClick 1
Delay 300
MoveTo 0,0
End If
Loop