screencapture result 4 - what does it mean?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
rblack
Pro Scripter
Posts: 87
Joined: Sat Dec 22, 2007 12:39 pm

screencapture result 4 - what does it mean?

Post by rblack » Thu Jun 10, 2010 12:31 pm

hello, i have the following code
FindImagePos>SCREEN,c:\phase.bmp,55,1,XX,YY,quanity

Let>XLH=XX_0+300
Let>YLH=YY_0-12
Let>XRD=XX_0+450
Let>YRD=YY_0+6

ScreenCapture>%XLH%,%YLH%,%XRD%,%YRD%,C:\changed.bmp
MessageModal>%SCREENCAP_RESULT%
the file wasnt captured, and saved, and i tried many ways to do that

so i have added modal message, and the modal message displays one number: 4

in the help documentation there is nothing about SCREENCAP_RESULT == 4 , please help me. I need to capture a screen fragment next to haystack image, and compare that fragment to recently captured one.

i use Macro Sheduler 11.1.17

rblack
Pro Scripter
Posts: 87
Joined: Sat Dec 22, 2007 12:39 pm

Post by rblack » Thu Jun 10, 2010 12:55 pm

ok, it was wrong coordinates ;] my fault

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