ClipboardGet

(Engine-Level Function)

Description: Returns the current contents of the system clipboard as a string. This function enables an application to perform text "paste" operations.
Returns: Text
Usage: Script Only.
Function Groups: Clipboard,  String and Buffer
Related to: ClipboardPut
Format: ClipboardGet()
Parameters: None
Comments:

This function can be used to obtain the current contents of the clipboard as a string. If the clipboard does not contain a textual value, then the function will return invalid.

Do not use a clipboard operation as a subroutine parameter if the application is accessed by thin clients.

Within an Anywhere Client session, this function does nothing.

Example:

  If 1 WaitDone;
  [
     { Get the clipboard text for processing. }
    Content = BuffStream(ClipBoardGet());
    ...
  ]
]
WaitDone [ ...