Vocola.net
Vocola 3.1 Function Library
GetText()
Namespaces LibraryClipboard ► GetText
Returns the Windows clipboard content as plain text, if possible.
Syntax
GetText()
Return Value
A plain text version of the Windows clipboard content if available; nothing otherwise.
Examples
CopyPaste
Paste That = Clipboard.GetText();
For most programs you can implement a "Paste That" command using the keyboard shortcut {Ctrl+v}. The command in this example works in programs like Command Prompt which don't support that shortcut. Clipboard content is returned by the call to GetText() and sent as keystrokes to the current application.
CopyConvert text to a "title case" word
Title That = {Ctrl+c} String.ToTitleCaseWord( Clipboard.GetText() );
This command converts selected text to a single "title case" word, by copying text to the clipboard with {Ctrl+c}, retrieving it with GetText, and converting it with ToTitleCaseWord.

Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)