I am having troubles with a screen capture compare.
I take a screen capture using X1,Y1,X2,Y2,c:\TEMP\BITMAP.BMP
I perform some action and then take a screen capture of the same area and on the same monitor and compare them and I dont ever get a match, even though it should. What am I doing wrong? Does it really compare images or just the size?
My code is:
ScreenCapture>568,404,954,709,C:\temp\newbox.bmp
wait>1
CompareBitmaps>C:\temp\10.bmp,c;\temp\newbox.bmp,match
If>match=100
Macro>C:\Users\Chase\OneDrive\Documents\Documents\Macro Scheduler 15\10.scp
Endif
The resolution should be the same on the same monitor.
Thanks
Chase
screen Capture compare
Moderators: Dorian (MJT support), JRL
-
- Newbie
- Posts: 7
- Joined: Thu Oct 12, 2006 1:04 pm
- Location: Hampton, VA
- Contact:
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: screen Capture compare
What value DO you get returned? Can you share the two bitmaps?
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?