and each pixle x,y cordniate is what im using as my mouse movement and they are in different location
but it doesnt seem to be working like i wanted
for example
spin x,y is 465,620 and the pixle color for that is 435151
play is 528,546 pixle color 171979
go is 494,474 pixle color 369358
how would i go about making it wait for the different button that common at different time of the game play and when those button are not found it doesnt do anything
and if play is detected i want to send key
first time play come up like send>1
second time around send>2
then loop after 2
and if it check and see these button have em click
thank you in advance i hope someone can help me in understanding
Code: Select all
WaitWindowOpen>windows®*
SetFocus>windows®*
Label>run
waitPixelColor>X,Y,PC1
If=%PC1%=435151,SPIN
getPixelColor>X,Y,PC2
If=%PC2%=171979,play
getPixelColor>X,Y,PC3
If=%PC3%=369358,Go
Label>SPIN
mousemove>465,620
LCLICK
WAIT>1
Goto>run
Label>play
MouseMove>528,546
LCLICK
WAIT>1
Goto>run
Label>go
MouseMove>494,474
LCLICK
WAIT>1
Goto>run
[code]