Clipboard Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Clipboard Commands > Get Clipboard Text >

Clipboard Commands

CLB.Get Text

Previous Top Next


MiniRobotLanguage (MRL)

 

CLB.Get Text

Get Clipboard Text as ANSI Text

 

Intention

 

This command copies text from the clipboard into a variable. 📋✨

If the content is Unicode, it may fail. 🔄💻

 

 

 

Syntax

 

 

CLB.Get Text[|P1]

 

 

Parameter Explanation

 

P1 - (optional) Is Is the variable for the result. If omitted, the result is placed on TOS.

 

 

 

 

Example

 

'***********************************

' CLB.-Sample

'***********************************

CLB.Reset

VAU.$$UNI=fe ff 00 50 00 72 00 6f 00 66 00 69 00 6c 00 21 00 20 d8 3d dc ef 00 20 00 44 00 61 00 73 00 20 00 50 00 6f 00 73 00 74 00 68 00 6f 00 72 00 6e 00 2c 00 20 d8 3c dd fa d8 3c dd e6 00 20 00 64 00 69 00 65 00 20 00 55 00 6b 00 72 00 61 00 69 00 6e 00 65 00 2d 00 46 00 6c 00 61 00 67 00 67 00 65 00 20 00 75 00 6e 00 64 00 20 d8 3d dc 89 00 20 00 64 00 69 00 65 00 20 00 53 00 70 00 72 00 69 00 74 00 7a 00 65 00 2e 00 2e 00 2e

'STR.Swap Byte Order|$$UNI

CLB.Set Text|$$UNI

PRT.CONTENT:

CLB.GetContent|$$CON

PRT.$$CON

PRT.--------------------

CLB.Get Text|$$RET

PRT.GOT:

PRT.$$RET|c

PRT.--------------------

PRT.ShowA

CLB.showa

 

$$UNI=Hallo Ich nun hier.

'STR.Swap Byte Order|$$UNI

CLB.Set Text|$$UNI

PRT.CONTENT:

CLB.GetContent|$$CON

PRT.$$CON

PRT.--------------------

CLB.Get Text|$$RET

PRT.GOT:

PRT.$$RET|c

PRT.--------------------

PRT.ShowA

CLB.showa

 

MBX.!

END.

 

clip0999

 

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also: