Seems simple enough... but not working. (aka I'm a noob)

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
aux_con
Newbie
Posts: 7
Joined: Sat Sep 09, 2006 12:14 am

Seems simple enough... but not working. (aka I'm a noob)

Post by aux_con » Sat Sep 09, 2006 12:17 am

Label>Start
Let>WW_TIMEOUT=5
MouseMove>179,389
WaitPixelColor>179,389,0,0
MouseMove>179,389
LClick
Wait>7
WaitPixelColor>179,389,10070188,0
Goto>Start


The idea is that the script runs and waits for a button to become active (changes color from something to black @ 179, 389)
Then when active clicks waits 7 seconds and the loops once the button goes inactive.

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Sat Sep 09, 2006 2:42 am

According to the help the correct format is:

WaitPixelColor>ColorCode,X,Y,Timeout

I don't know exactly where you want to go, and what color you are looking for, but my guess is that you have the arguments in the wrong order.

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts