Back

GetClipboardText

Hello World

GetClipboardText returns text that was last copied to the clipboard.

app.GetClipboardText() → string

See Also: SetClipboardText

Example - show latest clipboard text

function OnStart()
{
    var text = app.GetClipboardText();
    app.Alert( text );
}
    Copy     Copy All       Run