Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QM InGame (not for cheating)
#13
Function ( OsdHide )
Code:
Copy      Help
;/
function [$osdid]

;Hides (stops displaying) on-screen text that is displayed by OnScreenDisplay.
;If osdid is used and not "", hides text of OnScreenDisplay where the same osdid was used. Else hides all.
;Should not be used with atend. Instead use OnScreenDisplay with flag 8. If used with atend, make sure that osdid will be valid at that time.
;Note: OnScreenDisplay creates a hidden window where it draws the text. This function closes the window.
;Added in QM 2.2.1.


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



win osdid "QM_OSD_Class" "" 0x8000 &OSD_Enum 0

*NOTE: To see if you have a function easily, just type the function name into an empty macro and if it shows up in the cyan font, then highlight it and hit F1. It will bring up the function and its details in the QM outbox.
Taking on Quick Macros one day at a time


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)