viewtopic.php?f=2&t=7679
Code: Select all
Let>x=1
Let>selectItem=Freezing
While>x<2
GetPixelColor>1328,624,nColor
If>%nColor%=6579308
OCRArea>373,108,475,128,strText
Trim>strText,strText
If>{(%strText%="Freezing") AND (%selectItem%<>"Freezing")}
MouseMove>1068,501
LDblClick
Let>selectItem=Freezing
EndIF
If>{(%strText%="Cold") AND (%selectItem%<>"Cold")}
MouseMove>1151,498
LDblClick
Let>selectItem=Cold
EndIF
If>{(%strText%="Warm") AND (%selectItem%<>"Warm")}
MouseMove>1042,599
LDblClick
Let>selectItem=Warm
EndIF
If>{(%strText%="Boiling") AND (%selectItem%<>"Boiling")}
MouseMove>1157,597
LDblClick
Let>selectItem=Boiling
EndIF
Else
Let>x=2
MessageModal> All Done!
Endif
Wait>1
EndWhile
Any Ideas?