Hello
My problem:
Checking for image successfully BUT sometimes there are multiple identical images and this will cause an error trying to capture coordinates for mouse pointer to go to.
Note: When there are multiple identical images, I can select any one of them to achieve my results so this doesn't matter which is selected.
Ideas:
1. Is there a way to select the first image it matches and pull coordinates for mouse from it?
Also
2. Is there a way to check a specific region for image,
the region can be hard coded; example: 3350,210,3590,225
Thank for for any direction
Best Regards
Cage
Image match with identical images on screen
Moderators: JRL, Dorian (MJT support)
Image match with identical images on screen
The greater the risk, the greater the potential gain....
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
If you use EXACT FindImagePos returns a 0 based array of ALL matches. So for the first use index 0.
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?