Clipboard Commands

<< Click to Display Table of Contents >>

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

Clipboard Commands

CLB.Get Unicode

Previous Top Next


MiniRobotLanguage (MRL)

 

CLB.Get Unicode

Copies text from your clipboard into a variable as Unicode

 

 

clip0950

 

Code:
 
VAU.$$UNI=ff fe 3e d8 37 dd 0d 20 42 26 0f fe 57 00 65 00 

VAU.$$UNI+ 6e00 6e00 b400 7300 2000 73 00 6f 00

VAU.$$UNI 6e00 6e00 b400 7300 2000 73 00 6f 00

PRT.$$UNI|c

CLB.Set Text|$$UNI

CLB.Showu

CLB.Get Unicode|$$TAR

MBX.$$UNI$crlf$$$TAR

PRT.$$TAR|c

MBX.!

END.

 

 

Intention

 

 

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

Even if the text is in ANSI format, it'll be converted and stored as Unicode. 🔄💾

 

 

 

 

Syntax

 

 

CLB.Get Unicode[|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.Showu

CLB.Get Unicode|$$TAR

MBX.$$UNI$crlf$$$TAR

PRT.$$TAR|c

MBX.!

END.

 

clip0951

 

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also: