How to Execute Macro Script

There are multiple ways to execute your macro script in Auto Mouse Click. This guide details each available execution method and provides links to specific tutorials for deeper exploration.

  1. Assign a keyboard shortcut to Start / Stop script execution.
  2. Create a desktop shortcut to execute a specific macro script.
  3. Right-click on a script file in Windows Explorer and select the Execute command.
  4. Schedule a macro script to run at a later date or time.
  5. Press the Start / Stop button directly on the main window.

1. Use a Keyboard Shortcut to Execute a Macro Script

Assigning a keyboard shortcut is the simplest and fastest way to control script playback. Once defined, the assigned key combination acts system-wide, allowing you to trigger or pause automation even when the application window is minimized. Note that global hotkeys remain active as long as the macro script window remains open.

Execute a Macro Script with a Keyboard Shortcut
Execute a Macro Script with a Keyboard Shortcut

To assign a shortcut key to your script:

  1. Locate the Start / Stop Script Execution area near the bottom of the window.
  2. Click on the white shortcut input box (which displays None by default).
  3. Press your desired shortcut key combination on your keyboard (e.g., F6).
  4. Click the Assign button to save your keyboard shortcut.

To change or remove an assigned hotkey, click the Clear button or assign a new key combination. Pressing the shortcut while a script is running will halt execution immediately following the current action's delay.

2. Use a Desktop Shortcut to Start / Stop Script Execution

You can generate dedicated desktop shortcuts for individual macro scripts. Before creating a desktop shortcut, ensure your script file is saved to your disk.

Execute a Macro Script with a Desktop Shortcut
Execute a Macro Script with a Desktop Shortcut

To create a desktop shortcut:

  1. Save your macro script file (`.mamc`) to any folder location.
  2. Click the top-left application icon to open the main menu.
  3. Select Create Desktop Shortcut to Execute Script.
  4. A File Explorer window will open with your newly generated desktop shortcut highlighted.
  5. (Optional) Right-click the desktop shortcut, select Properties, and assign a shortcut key in the shortcut properties dialog for global launch control.

3. Right-Click a Script File in Windows Explorer

You can execute saved macro scripts directly from Windows Explorer using the shell context menu. Double-clicking a script file opens it in the editor by default, whereas right-clicking provides an instant execution option.

Execute a Macro Script from Windows Explorer with Execute Menu Command
Execute a Macro Script from Windows Explorer with Execute Menu Command

To run a script directly from Explorer:

  1. Navigate to your saved macro script file in Windows Explorer.
  2. Right-click the script file to display the context menu.
  3. Click Execute to launch macro playback immediately.

4. Schedule a Macro Script for Future Execution

You can configure scripts to run automatically at a specific date and time. Keep the application window open or minimized to allow the built-in scheduler to trigger execution. Read our Schedule Script Execution guide for step-by-step instructions.

5. Press Start / Stop on the Main Window

Clicking the Start button on the main window begins script execution step-by-step. While running, the button label changes to Stop, allowing manual cancellation at any point. Active actions are highlighted in sequence within the action list as execution progresses.

Before executing complex scripts, verify action parameters and delay times. Starting with small test macros is recommended before running extensive multi-step automation sequences.