Record Events

Description

This action allows you to record the movements of your mouse and/or keystrokes to a file, which can then be played back through a task to automate mouse movements.

You can, for example, record your mouse movements as you double-click an icon, and then play these mouse movements back through AutoMate™, which would move the pointer on your screen as if you were moving the mouse physically.

Record Events Action Properties Dialog

Record Events dialog

This action allows you to record the movements of your mouse or your keystrokes to a file, which can then be played back through a task to automate mouse movements. You can, for example, record your mouse movements as you double-click an icon, and then play these mouse movements back through AutoMate™, which would move the pointer on your screen as if you were moving the mouse physically.

To record your mouse movements, first enter a filename and path of the file you would like to use to write the mouse movements to. Then, click the Start Recording button. AutoMate™ will minimize itself, and start recording the movements of your mouse and the keys you press. When you have finished, press Ctrl-Alt-F12. AutoMate™ will reappear, and your movements will have been written to the file.

To verify your movements, you can click the Playback button, which will playback your mouse movements.

Make this a deployable
Deployables are an advanced topic having to do with referencing filenames that are included as packages with a task that is being exported for use on another machine or deployed using AutoMate Enterprise Server. This checkbox appears on all actions that include a parameter for a filename. Click here for more on using Deployables.

Notes

If you have a step in your task that locks the keyboard or locks the mouse, you must ensure that they are unlocked before the Record Events step is encountered, otherwise the mouse will not reproduce your mouse clicks or keystrokes.

It is always more reliable to use Start an Application and Send Kestrokes actions in your tasks instead of using "Record Events" because it is vulnerable to screen position changes.

Related Topics:

Unlock Keyboard Action

Unlock Mouse

Lock Mouse Action

Lock Keyboard Action

Other Available Actions