Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OnScreenDisplay result saved to clipboard
#2
Macro Macro2769
Code:
Copy      Help
OnScreenDisplay "Text" 0 0 0 "" 0 0 1 "get_bitmap"
int w=wait(0 WV win("get_bitmap" "QM_OSD_Class"))
RECT r; GetClientRect w &r
__Hdc dc.Init(w)
__MemBmp m.Create(r.right r.bottom dc)
dc.Release
OsdHide "get_bitmap"
if(!OpenClipboard(_hwndqm)) end "failed"
EmptyClipboard
if(SetClipboardData(CF_BITMAP m.bm)) m.bm=0
CloseClipboard

act "Paint"
key Cv


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)