02-07-2017, 11:25 AM
It copied only the client area.
This code copies whole window view from screen.
Macro Macro2771
(b) OnScreenDisplay itself - no.
This code copies whole window view from screen.
Macro Macro2771
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.