OSDNot in LE
Print Topic  Return to Overview  Previous Topic  Next Topic 
Purpose:Write floating text to the display

 

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

 

/CClose the current OSD display
/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

 

Usage:

 

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.  If you want to display the leading whitespace in your text, you will need to enclose it in single back quotes.

 

 

 

Topic "osd.htm" last edited 4/28/2008. ©2008  JP Software, Inc.
Keywords: OSD