Set Up Script-based Macros

You can conveniently set up script-based macros from a ready-made toolbox of commands. Command types are listed on the left. Commands included in the selected macro are listed on the right.

Click to zoom inAdd a command

- Select the command type, then click the "Add Command" button,
- or double-click the command type,
- or press Enter when the command type is focused,
- or press Insert when the command list is focused.

Edit a command

- Select the command, then click the "Edit Command" button,
- or double click the command,
- or press Enter when the command is focused.

Delete a command

- Select the command, then click the "Delete Command" button,
- or press Delete when the command is focused.

Move up/down a command

- Select the command, then click the "Up"/"Down" button,
- or press "Shift + Up"/"Shift + Down" when the command is focused.

Available commands

  • Access Web Site. Open the default web browser and navigate to the specified web address.Click to zoom in
  • Comment / Delay. Delay for an amount of time or just insert a comment.
  • Keystroke. Type text into any application. This command can also output date/time (look at the bottom panel). Please refer to the samples (look at the bottom panel) if you need to use key combinations.
  • Launch Program. Launch an application.
  • Log to File. Save specific text or text in the Windows clipboard to a file.
  • Mouse Click. Include "click", "double click", "button down" and "button up" of the left button, the middle button and the right button.
  • Mouse Move. Move the mouse pointer to the specified position.
  • Open Document. Open a document file with the associated application.
  • Open Folder. Open a folder with the Windows explorer.
  • Pause. Pause the running macro. Press Alt+Pause to resume running the macro.
  • Play Sound. Play a sound file in WAVE format.
  • Random Delay. Delay for a random time.
  • Run Macro. Call another macro, which does not include a "Run Macro" command.
  • Activate/Move/Close/Minimize/Maximize window. Search for the window with specific title and perform corresponding operation. It is supported to use wildcard character "*" and "?" in the window title. "*" matches any string of zero or more characters. "?" matches one character. For example: "ac?h.*" matches "acah.bmp". If "<Run-Time Foreground Window>" is used as the window title, Journal Macro will perform operation on the foreground window when the command is executed.

Hints:

  • It takes some time, more or less, to execute a command, so it is offen needed to specify the delay option of the command or insert a following "Comment / Delay" command.
  • Alt+Enter is another shortcut for the "OK" button in the macro editor toolbox and the keystroke editor toolbox.
  • Available shortcut keys when the command list is focused:
    Shortcut Key Command
    Insert Add command
    Delete Delete command
    Shfit+Up Move up
    Shift+Down Move down

Related topics