SetString Data Member Function

Copies text to the Windows clipboard.

Prototype

static int32 SetString( string p_sNewClipboardText )

Parameters

Parameter Type Parameter Name Documentation
stringp_sNewClipboardTextThe string to copy to the Windows clipboard.

Examples

Copy Text To Clipboard

import library "app_service_console_util.ssl";

Clipboard.SetString( "Hello!" );
Console.Out( Clipboard.GetString() );

Results

Hello!