MouseRobot basics

MouseRobot is easy and convenient tool to automate your repetitive tasks. It only takes a few minutes to start using it. We recommend you read this article in order to start developing your own macros.

The article describes how to add a new step, work with graphic objects (buttons, lists, etc.), record a task, execute recorded macro.

The automated sequence of operations in MouseRobot is called "Task". The task consists of steps such as "Run", "Press Key", "File Name Query" and others.

Task example (Start "Notepad" editor and input a few lines of text):

MouseRobot task sample

In many cases, the easiest way to get started with MouseRobot is to use the "Record Task" function and then, if necessary, to correct the recorded steps.

Adding steps to the task

MouseRobot provides two basic ways to insert new steps into the task:

  1. Dragging of necessary steps or snippets from the Toolbox with mouse. Besides, you can add steps to the end of the task by double-clicking on it in the toolkit.
  2. MouseRobot toolbox

  3. Add several automated program control steps using the "Record Task" function.
  4. Record task

Selection of object on screen

While adding the step "Search object on screen" into the task, as well the snippet, containing this step, the MouseRobot window automatically gets minimized and the program switches to the Object Selection Mode. At the same time any object with the cursor placed over it is highlighted with a red frame containing a hint.

Object selection mode

To select a highlighted object, press Ctrl.

To close the Object Selection Mode and return to main window, press Esc.

PgUp and PgDn keys let you choose a more general or more detailed object, such as the entire table or its individual cell.

The change of the object for an existing step is possible by using the "Change object" command . This command can also be automatically applied by double clicking on the step "Search object on screen".

Quick Record Task

The function "Record Task", located on the "Task" pane, allows to record the sequence of steps quickly.

Record task

By clicking the "Record Task" button, MouseRobot automatically gets minimized and switches to Object Selection Mode (red frame).

The record process involves repetition of two stages:

  1. Selecting an object on the screen (point the mouse to the object to highlight it with a red frame and press Ctrl to confirm the selection)
  2. Object Selection Mode (red frame)

  3. Recording actions to be executed with the object (mouse click, typing text, etc.)
  4. Actions Recording Mode

Action recording automatically ends 3 seconds after the last mouse click or 5 seconds after the last keystroke, and then the Object Selection Mode activates again to specify the next object.

To return to the task and edit recorded steps press Esc.

Execute and stop a task

The recorded task can be run by several ways:

  • Manually, using the "Run" command:
  • Debug pane

    If necessary, you can run only a part of steps using the "Execute selected", "Run to selected" and "One Step" commands.

  • Manually, by double-clicking on the task file. Right-click on the file and select "Edit" on the context menu to open the task for editing, instead of executing it.
  • Automatically, using MouseRobot Task Scheduler.
  • Convert the recorded task - into an independent from MouseRobot program (.exe) and run it.

While running the task the progress bar is displayed in the lower left corner of the screen.

MouseRobot progress bar

Buttons and the keyboard shortcuts allow you to control the process. Press the key combination Ctrl + Alt + F12 to stop all running tasks.

Read more about MouseRobot in the Complete Online Manual
© AutomationBox 2005-2011