SetClipboard

Clipboard management function.

The SetClipboard function places the specified string on the Clipboard.

Usage

Mainly used to transfer data from one application to another, with the usual Windows Copy/Paste method.

Syntax

SetClipboard(<string$>)

Parameters

<string$>, string to place on the Clipboard. The string can then be used by GetClipboard$ or by the Edit/Paste menu of other applications.

See also

GetClipboard$

Example

 

SetClipboard("abcdef") ' Puts "abcdef" on the clipboard

SetClipboard (a$) ' Puts the string a$ on the clipboard