PlayMouse Method

Action2 Example

 

Encapsulates the AutoMate™ action in the “Recorder” group, “Record events.” The method plays the mouse and keyboard events previously recorded with AutoMate’s mouse recorder.

 

Declaration

function PlayMouse (varFilename As Variant) As Integer

 

Parameters

varFilename

 The filename of the events recording to play.

 

Description

The PlayMouse method plays back the system events recorded by the AutoMate™ Configuration Manager.

 

To make the series of events to play back, first open the AutoMate™ Configuration Manager. Make a new task. From the Step Builder, select “Record Events” from under the “Recorder” group. Enter a filename for the recording, and click “Record.” This will begin recording the movements of your mouse and the keystrokes on your keyboard. When finished, press Ctrl-F12. Then, you can use the file you just created in a call to PlayMouse to playback the events.