|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > Clipboard Commands |
MiniRobotLanguage (MRL)
CLB. - Clipboard Commands
The commands can be used to Set , reset or Get the Clipboard Content
Intention
Description of Clipboard Commands
•Get bitmap (gbm): Retrieves a bitmap from the clipboard and stores it in a specified variable.
•Get oemtext (got): Retrieves OEM text from the clipboard and stores it in a string variable.
•Get text (gtx): Retrieves text from the clipboard and stores it in a string variable.
•Get unitext (gun): Retrieves Unicode text from the clipboard in a format compatible with unitext and stores it in a string variable.
•Get unicode (gun): Retrieves Unicode text from the clipboard and stores it in a string variable.
•reset (res): Clears the current contents of the clipboard.
•Set bitmap (sbm): Places a bitmap onto the clipboard from a specified handle.
•Set oemtext (sot): Places OEM text onto the clipboard from a specified string.
•Set text (stx): Places text onto the clipboard from a specified string.
•Set unicode (sun): Places Unicode text onto the clipboard from a specified string.
•fromvar (cfv): Retrieves data from a variable and performs an unspecified operation (context-dependent).
•tovar (ctv): Stores data into a variable from an unspecified source (context-dependent).
•tobitmap (ctb): Retrieves a bitmap from an unspecified source (likely the clipboard) and performs an operation.
•frombitmap (cfb): Takes a bitmap and performs an operation, likely placing it onto the clipboard.
•show picture (shop): Display a picture that is in the Clipboard, internally using ANA.Show
•show (show): Display the Clipboard Content as Hex-Dump
Table of Commands
Command Alias |
Full Command |
Description |
gbm |
Get bitmap |
Retrieves a bitmap from the clipboard. |
got |
Get oemtext |
Retrieves OEM text from the clipboard. |
gtx |
Get text |
Retrieves text from the clipboard. |
gun |
Get Unitext |
Retrieves Unicode text in a 2 Byte-Text format. |
gun |
Get Unicode |
Retrieves Unicode text from the clipboard. |
res |
ReSet |
Clears the clipboard contents. |
sbm |
Set bitmap |
Places a bitmap onto the clipboard. |
sot |
Set oemtext |
Places OEM text onto the clipboard. |
stx |
Set text |
Places text onto the clipboard. |
sun |
Set unicode |
Places Unicode text onto the clipboard. |
cfv |
fromvar |
Operates on data retrieved from a variable. |
ctv |
tovar |
Stores data into a variable. |
ctb |
tobitmap |
Operates on a retrieved bitmap. |
cfb |
frombitmap |
Operates on a bitmap, likely placing it onto the clipboard. |

This code will produce the Output below.

Using this command the text in the clipboard will just be placed in the Clipboard, not doing any Format Checks.

If you paste the Clipboard into ""X" (Social Network) you will receive these writings.

This code will produce the Output below. Note the Usage of the VAU.-Command (Variable Unicode). The Line has been shortened.

This will be in the Clipboard after using each Command.

If you paste the Clipboard into ""X" (Social Network) you will receive these writings (LF removed).
Remarks
-
Limitations:
-
See also:
•