4D v14.3

Get text from pasteboard

Home

 
4D v14.3
Get text from pasteboard

Get text from pasteboard 


 

Get text from pasteboard -> Function result 
Parameter Type   Description
Function result  String in Returns the text (if any) present in the pasteboard

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.

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

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

 
PROPERTIES 

Product: 4D
Theme: Pasteboard
Number: 524

The OK variable is changed by the commandThis command modifies the Error system variable

 
HISTORY 

Modified: 4D v11 SQL

 
SEE ALSO 

GET PASTEBOARD DATA
GET PICTURE FROM PASTEBOARD
Pasteboard data size

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)