Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Capturing Image
#3
Gintaras Wrote:Look in this code, there is EXAMPLE, and 1 line below it. It stores the image in the clipboard. You can use the 5-th or 6-th argument to save in a file or get HBITMAP object in memory.

The function uses width and height. If you want to use bottom-left corner coordinates, it is easy to calculate, for example:
Macro Macro2716
Code:
Copy      Help
RECT r; SetRect 500 700 600 950
CaptureImageOnScreen(r.left r.top r.right-r.left r.bottom-r.top)
OMG. I was such a retard. I went to change the function. LMAO.
You're such a great help


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)