I've been testing with FindImagePos to only look for the image in a certain window. In this case it's Market Analyzer.
FindImagePos>needlePic,WINDOW:Market Analyzer,0,1,XArr,YArr,NumFound
My code works, but it also finds the image outside of the window. For instance, I would open up the image in windows explorer in preview, and the code will find it. Even when it's outside of the window specified.
So it looks like it's scanning the whole screen, rather than the specified window. I need it to only scan the window.
FindImagePos for selected window doesn't work.
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
I have verified that this is the case and is a bug. Should clearly only be looking within the bounds of the window. I've added it to the work list to get sorted ASAP.
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?