Get text from pasteboard

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 11 (Modified)


Get text from pasteboard String

ParameterTypeDescription
This command does not require any parameters
Function resultStringReturns the text (if any) present in the pasteboard

Description

Get text from pasteboard returns the text present in the pasteboard.

Note: In the case of copy/paste operations, the pasteboard is equivalent to the Clipboard

If the pasteboard contains enriched text (for example in RTF format), the text will keep its attributes when it is dropped or pasted, if the destination area is compatible.

Note that 4D text fields and variables can contain up to 2 GB of text.



See Also

GET PASTEBOARD DATA, GET PICTURE FROM PASTEBOARD, Pasteboard data size.

System Variables

If the text is correctly extracted, OK is set to 1; otherwise OK is set to 0.

Error Handling

If there is not enough memory to extract the text, an error -108 is generated.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next