Core Function ClipSet
From Sputnik Wiki
ClipSet( <type>, <expression> )
Contents |
Description
Set data to the clipboard
Parameters
type
The type of data to set
Text - Any text
Return Value
Success: Returns 1.
Failure: Returns 0 if error occurs.
Example
// Get current text from clipboard my $Current = ClipGet( "Text" ); println("Current clipboard text BELOW"); println($Current); println("Current clipboard text ABOVE"); println(""); // Set some text to clipboard ClipSet( "Text", "Hello World!" ); // Get current text from clipboard again my $Current = ClipGet( "Text" ); println("NOW Current clipboard text BELOW"); println($Current); println("NOW Current clipboard text ABOVE");