Hi,
I just started using Macro Scheduler, and so far I've had no issues. However, recently I wanted to try writing a script involving mouse moving and clicking on certain areas of the screen. I know how to find the pixel color of these areas, but is it possible to make the mouse move to this pixel color once it has been found and then click on it? I've already tried using coordinates to move the mouse to these areas, but it doesn't work because the background screen environment is constantly changing and moving around.
Thanks for all your help
MouseMove to Pixel Color
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
To search for an object use FindImagePos.
To search for just a pixel color either use GetPixelColor in a nested loop (one for X and one for Y) or use the FindColor library which was designed for just this process:
Download the FindColor library at:
http://www.mjtnet.com/plugins.htm
A search also reveals:
http://www.mjtnet.com/forum/viewtopic.php?=&p=15078
http://www.mjtnet.com/forum/viewtopic.p ... &view=next
To search for just a pixel color either use GetPixelColor in a nested loop (one for X and one for Y) or use the FindColor library which was designed for just this process:
Download the FindColor library at:
http://www.mjtnet.com/plugins.htm
A search also reveals:
http://www.mjtnet.com/forum/viewtopic.php?=&p=15078
http://www.mjtnet.com/forum/viewtopic.p ... &view=next
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?
check out all posts by me i do tons of stuff like this and have asked just about every question you will if not more so im sure theres an aswer for you in one of em
if idiots rule the world then im the king!!!!
i want a free t-shirt give me all of your rep!!!
please give me pro version of macro scheduler and appnavigator!!!
i want a free t-shirt give me all of your rep!!!
please give me pro version of macro scheduler and appnavigator!!!