|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > Clipboard Commands > Get Clipboard Text > Clipboard Commands |
MiniRobotLanguage (MRL)
CLB.Get Oemtext
Get Clipboard Text as OEM-Text

Intention
The process involves retrieving a text string from the CLIPBOARD and assigning it to a designated variable P1.
During this operation, the text is converted to the OEM Text format, which is the standard format utilized by the Windows Console.
In cases where no text is available for retrieval from the CLIPBOARD, the variable P1 is set to a empty string.
Syntax
CLB.Get Oemtext[|P1]
Parameter Explanation
P1 - (optional) Is Is the variable for the result. If omitted, the result is placed on TOS.
Example
'***********************************
' CLB.-Sample
'***********************************
VAS.$$UNI=Hallöchen Müßli
PRT.$$UNI|c
CLB.Set Text|$$UNI
CLB.Show
CLB.Get OEM Text|$$TAR
MBX.$$UNI$crlf$$$TAR
PRT.$$TAR|c
MBX.!
END.

Remarks
-
Limitations:
-
See also:
•