Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to block mouse input but still allow mouse movement?
#3
Or display text using OnScreenDisplay. To clear the text, use this function:

Function OsdClose
Code:
Copy      Help
;/
function [$osdid]

;Clears on-screen text that is displayed by OnScreenDisplay.
;If osdid is used and not "", clears text of OnScreenDisplay where the same osdid was used. Else clears all.
;Can be used with atend too.


;EXAMPLE
;OnScreenDisplay "Macro is running." -1 0 200 "" 0 0 0 "osd_mir"
;atend OsdClose "osd_mir" ;;or can be used atend OsdClose ""
;mes "Macro is running"



int h
if(len(osdid))
,h=win(osdid "QM_OSD_Class")
,if(h) clo h; err
else
,rep
,,h=win("" "QM_OSD_Class")
,,if(!h) break
,,clo h; err


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)