Hello! Im new on this forum so I'd like to introduce myself
My name is Michal. Im from Poland, (so Im very sorry for my bad English...)
I'm using MS for a loong time, but for simple things...
I have a big problem with one advanced script.
I need to create a multi "image recognition" or "pixel color" at specified coordinates checking script.
I'll try explain at example...
If> at cord 0,0 there is color white -> goto If2
If2> at cord 100,100 there is color blue -> goto If3
If3> at cord 200,200 there is color green -> mousemove>100,100 and lclick...
I dont know how can I do that hard script
Please help me!
Greetings!
/Michal
Help needed with advanced multi-checking script.
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Looks like you want something like:
Replace WHITE, BLUE and GREEN with the color codes as returned by the cursor monitor.
Code: Select all
GetPixelColor>0,0,result_color
If>result_color=WHITE
GetPixelColor>100,100,result_color
If>result_color=BLUE
GetPixelColor>200,200,result_color
If>result_color=GREEN
MouseMove>100,100
LClick
Endif
Endif
Endif
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?