screen Capture compare

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
rlchase2006
Newbie
Posts: 7
Joined: Thu Oct 12, 2006 1:04 pm
Location: Hampton, VA
Contact:

screen Capture compare

Post by rlchase2006 » Sat Aug 15, 2020 2:22 pm

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

User avatar
Marcus Tettmar
Site Admin
Posts: 7378
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: screen Capture compare

Post by Marcus Tettmar » Mon Aug 17, 2020 3:58 pm

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?

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts