Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FifteenWindows/OS Functions (continued)

ClipboardCreate Function

Overview

The ClipboardCreate function creates a Clipboard Object and empties the clipboard.

Syntax/Parameters

Syntax

handle = ClipboardCreate ( );

Parameters

(none)

Return Value

Returns a handle to a Clipboard Object or NULL_HANDLE on failure. Use the GetLastError function to retrieve error information.

Remarks

This function will create a Clipboard Object, open the clipboard, and empty the contents. The clipboard is kept open until the handle is closed. Note that this is useful for placing data or text in the clipboard. Because the function empties the clipboard, any data that had been stored there will be lost. This function should not be called in order to get text or other data from the Windows clipboard.

Scripts should not hold the clipboard open any longer than necessary since no other application can access the clipboard until it is closed. Further, only one Clipboard Object may be open at any given time.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic