CompareBitmaps


 

CompareBitmaps>bitmap_file_1,bitmap_file_2,result

 

Not supported in Macro Scheduler Lite.

 

Compares two bitmap files and returns the percentage match.  If the two files are not of the same dimension then result will be -1.

 

Abbreviation: CPB

See also: GetScreenRes, FindImagePos, ScreenCapture, WaitScreenImage

 

Example

 

GetScreenRes>ScreenW,ScreenH
 ScreenCapture>0,0,ScreenW,ScreenH,d:\current_screen.bmp
 CompareBitmaps>d:\required_screen.bmp,d:\current_screen.bmp,match
 If>match=100
   MessageModal>Screens Match
 Endif