Mouse & keyboard actions
If you edit or add a macro action, Macro Recorder opens an action configuration window.
You can manually enter/adjust the parameters in the dialog or use the mouse to "point & click" on your desktop to define X/Y coordinates and additional parameters.
To enter, edit or delete a label, click into the column "label".
The labels "", " " and " " are reserved by Macro Recorder.
If you change a label that is used as a jump mark, make sure to update all actions, that jumps to the corresponding action.
Clicks or double-clicks at the specified position with the left/middle/right/X1/X2 mouse button:
To define the click position, enter the X/Y coordinates or simply click at the desired position.
You can also configure a mouse click with an relative offset of the current mouse pointer position.
To capture the mouse pointer position without affecting the underlying application with a mouse click, press the customizable capture hotkey (default is the space bar) to capture the mouse position.
"X1" / "X2" are extra mouse buttons of advanced 5 button mouse devices.
Macro Recorder clicks relative to the program window *if* the focus change action is used. It uses the desktop coordinate system otherwise.
Instead of static X/Y coordinates, SmartClick clicks on a predefined bitmap area.
The SmartClick action first waits until a defined image area appears on the screen and then clicks in the center of the found image area:
To prepare the controlled program before performing the actual click, for example to remove the marking of an entry in a drop-down menu, which would otherwise falsify the image area detection, proceed as follows:
- Select the SmartClick buttonin the main menu bar or press hotkey S to create a SmartClick action.
- With the SmartClick configuration window open, press the capture hotkey (the default is the space bar).
- Move the mouse to the desired click position and press the capture hotkey again.
- Now the click position is fixed, which is illustrated by a crosshair.
- If necessary, configure the program so that the image area is visible as desired at the click position.
- Press the hotkey capture for a last time to let Macro Recorder analyse the prepared screen area around the click position.
The click area is captured without the influence of the mouse pointer ("hover effects"). The capture takes about 1-3 seconds.
Moves the mouse pointer from the start to the end position:
Enter the start/end coordinates or define them by clicking the start point followed by the end point.
If you don't want to affect the underlying application with a mouse click, press the customizable capture hotkey (default is the space bar) to capture the mouse position.
Two consecutive move actions are merged into one single move actions.
Simulates turning the mouse scroll-wheel in "virtual" pixels. Playback may be affected/translated/changed by the mouse drivers.
We recommend to record the wheel action to get predictable results. Keep in mind that mouse driver settings may differ between computers.
Simulates a single key press.
Macro Recorder sends the virtual key code, scan code and extended key flag to the operating system. You can specify a separate key-down and key-up event to allow adding automation in between.
Simulating a long KeyDown would not repeat the keypress like when pressing a key on the physical keyboard ("key repeat"). To achieve this, use the keypress option, which consists of KeyDown and KeyUp and repeat this action as desired.
To simulate pressing a keyboard shortcut "hotkey", consider using the dedicated "hotkey" action.
For longer text (vs single key presses), consider using the Text input action.
Simulates pressing a hotkey combination (such as CTRL+ALT+ D).
After defining the hotkey combination, Macro Recorder compiles the shortcut into individual key down and up events in the macro script: