Vocola.net
Vocola 3.1 Function Library
SetText(text)
Namespaces LibraryClipboard ► SetText
Copies text to the Windows clipboard.
Syntax
SetText(text)
Parameters
text
Text to copy to the clipboard.
Examples
CopyGet mouse coordinates
Get Pointer = Clipboard.SetText(Pointer.GetOffsetFromNearestCorner());
When creating voice commands which position the mouse pointer it's useful to retrieve the pointer coordinates for a specific point so you can put those coordinates in a command. The command in this example retrieves the current pointer coordinates as an offset from the nearest corner of the foreground window, and puts the result on the clipboard where it can be easily pasted into a command definition.

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