<< Click to Display Table of Contents >>

Navigation:  TCC > Variables & Functions > Functions >


@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 (a sequence of 0-9 digits) or in hexadecimal format ("0x" followed by a sequence of 0-F hex digits).




echo %@clip[0]


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