ClipboardCopy Method

Action2 Example

 

Encapsulates the AutoMate™ action in the “Clipboard” group, “Copy.” The method copies the current user selection to the system clipboard.

 

Declaration

function ClipboardCopy () As Integer

 

Parameters

 None

 

Description

The ClipboardCopy method copies the current user selection to the system clipboard. AutoMate™ does this by simulating a “Ctrl-C” keyboard sequence. It is up to the user to first select the appropriate text or object to be copies to the clipboard before calling the ClipboardCopy method, and to ensure that the focused application supports “Ctrl-C” as the cut command.