Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
take a picture of the option area and save it as a bmp file
#1
Sad 
Hi. I'm using CaptureImageOnScreen to take a screenshot it works pretty well but the coordinates and image size are fixed. who knows how to choose the area and size you want to capture like capture in find image and save that file to bmp file. thanks for reading
#2
use CaptureImageOrColor 
 
Code:
Copy      Help
mkdir "Captured_Images" "$My QM$";;create folder if it doesnt exist
str fBmp.timeformat("$my qm$\Captured_Images\{yyyy-MM-dd}_{HH-mm-ss}captured.bmp");;unique filename with date and time to avoid problems
fBmp.expandpath
if(!CaptureImageOrColor(0 0 _hwndqm fBmp)) ret
#3
its work thank you very much.


Forum Jump:


Users browsing this thread: 1 Guest(s)