waitPixelcolor +if ?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
lilshadow69
Newbie
Posts: 2
Joined: Sun Jan 13, 2008 4:06 am

waitPixelcolor +if ?

Post by lilshadow69 » Sun Jan 13, 2008 4:09 am

hello, im not quite experienced with macro scheduler
I was wondering if its possible to set if with pixelcolor parameters ...

something like if pixelcolor is true then go on with the script if false then do something else that refresh the page

i hope i make any sense and that theres something out there to help me out,

Thanks in advance

User avatar
pgriffin
Automation Wizard
Posts: 460
Joined: Wed Apr 06, 2005 5:56 pm
Location: US and Europe

Post by pgriffin » Sun Jan 13, 2008 4:29 am

Check out the WaitPixelColor> command

WaitPixelColor>SomeColor,X_Loc,Y_Loc,SecondsToWait
If>WPC_RESULT=False
do something.....
else
do something else
endif

Also take a look at GetPixelColor.

lilshadow69
Newbie
Posts: 2
Joined: Sun Jan 13, 2008 4:06 am

Post by lilshadow69 » Sun Jan 13, 2008 4:32 am

Thanks a lot ^^
That was quick and will sure come handy :twisted:

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