@CLIP

Print Topic  Return to Overview  Previous Topic  Next Topic 

@CLIP[n] :  Returns line n from the Windows text clipboard. The first line is numbered 0. The string **EOC** is returned for all line numbers beyond the end of the clipboard.

 

Numeric input may be entered in either decimal format (series of digits 0-9) or in hexadecimal format ("0x" followed by a sequence of 0-F hex digits).

 

Examples:

 

echo %@clip[0]

if "%@clip[2]" eq "**EOC**" echo No more data in the clipboard

 

 

 

Topic "f_clip.htm" last edited 8/31/2006. ©2008  JP Software, Inc.
Keywords: @CLIP,Clipboard