Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OnScreenDisplay result saved to clipboard
#4
It copied only the client area.

This code copies whole window view from screen.

Macro Macro2771
Code:
Copy      Help
OnScreenDisplay "Text" 0 0 0 "" 0 0 1 "get_bitmap"

int w=wait(0 WV win("get_bitmap" "QM_OSD_Class"))
0.1
RECT r; GetWindowRect w &r
CaptureImageOnScreen r.left r.top r.right-r.left r.bottom-r.top
OsdHide "get_bitmap"

act "Paint"
key Cv

(b) OnScreenDisplay itself - no.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)