Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Cannot find image - maybe related to resolution?
#2
Can be many reasons, I listed all I know in QM Help -> Find image on screen (scan Help).

A workaround could be:
Create another macro that allows the user to capture the image and saves it in a file. Run that macro on each computer.

Macro Macro2753
Code:
Copy      Help
CaptureImageOrColor(0 0 0 "$temp$\qm captured image 58964.bmp")

Then let the main macro use the saved image.

Macro Macro2754
Code:
Copy      Help
scan("$temp$\qm captured image 58964.bmp" 0 0 3|16)

Or all in single macro.

Macro Macro2753
Code:
Copy      Help
str bmpFile="$temp$\qm captured image 58965.bmp"
if !FileExists(bmpFile)
,if(!CaptureImageOrColor(0 0 0 bmpFile)) ret

scan(bmpFile 0 0 3|16)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)