Purpose:Write floating text to the display


Format:OSD [/ID=n /C[=n] /Font=n /ID=n /N /POS=top,left /RGB=r,g,b /TIME=n /TOP /BOTTOM /LEFT /RIGHT /HCENTER /VCENTER /V] text


/ID=nOpen the OSD window n (0-9). /ID is optional; it will default to 0. If /ID is specified, it must be the first argument.
/C=nClose the specified OSD display. /C=n must be the only argument. /C will default to OSD window 0.
/Font=nThe font height (default 18)
/NDon't wait for timeout before returning to the prompt
/POS=top,leftScreen coordinates for the top left corner of the text (default 10,10)
/RGB=r,g,bText color in RGB format (default 0,255,0)
/TIME=nTime in seconds to display the text (default 10)
/TOPPosition the text at the top of the display
/BOTTOMPosition the text at the bottom of the display
/LEFTPosition the text at the left of the display
/RIGHTPosition the text at the right of the display
/HCENTERCenter the text horizontally
/VCENTERCenter the text vertically
/VDisplay the text vertically
textThe text to display




OSD displays text on the desktop without a surrounding window, like TV or monitor prompts.


If you want to display multiple lines, insert the LF escape sequence (^N) in your text. For example:


osd /pos=40,50 This is text with^Nmultiple lines.


If you specify the /V (vertical display) option, you cannot also display multiple lines of text.


You can combine the window positioning options. For example:


osd /hcenter /vcenter /n Your text here


OSD will strip leading whitespace in text.


You can control up to 10 simultaneous OSD windows with the /ID=n and /C=n options. If you don't specify /ID, OSD will default to window 0.