Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OnScreenDisplay PROGRESS MONITORING ...
#7
OnScreenDisplay
function $text [^_time] [x] [y] [$fname] [fsize] [fcolor] [flags] [$osdid] [bcolor] ;;flags: 1 nontransparent, 2 synchronous, 4 click to hide

Temporarily displays short text on the screen.

text - text to display. Can be several lines.
_time - number of seconds to display the text. Default or 0: depends on text length. -1 is infinite.
x, y - text coordinates in screen, work area. If <0, relative to bottom/right. Default or 0: center.
fname, fsize, fcolor - font name (default "Arial"), size (default 24) and color (default 0xff00).
flags - combination of these values:
1 - nontransparent. Transparency is not supported on Win98/Me.
2 - synchronous. Caller waits _time seconds until text disappears.
4 - the user can click to hide. The OSD window is nontransparent.
osdid - some string that identifies the OSD window. If this OSD window still exists, displays text in it instead of creating new window. This improves performance when calling this function frequently. Also, later you can use win(osdid "QM_OSD_Class") to get OSD window handle.
bcolor - background color. Flag 1 also must be set.

EXAMPLE
OnScreenDisplay "Text"
An old blog on QM coding and automation.

The Macro Hook


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)