Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Cannot find image - maybe related to resolution?
#6
Thanks for the code. I can't get it to work. My code is not saving a file to my hard drive. Here's my code so far.

Macro scans user's existing image or grabs new one - use when exporting my macros that scan screen
Code:
Copy      Help
SetEnvVar "aakit" "D:\0 aa\project - tools\aakit" ;;this can be in a function that is executed when QM or exe process starts. Then %mydir% can be used anywhere in strings with QM file functions.


str bmpFile="$aakit$\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)