Statements

There are three type of statements that can be added to a macro to control playback: BREAKPOINT, LABEL, GOTO, and WAIR FOR. To add a specific statement to a macro select the appropriate item in the Insert-toolbar or the context menu.

DELAY

The "DELAY" statement pauses the macro execution for a specified amount of time (in milliseconds).

BREAKPOINT

Breakpoints are used for better debugging. Add a breakpoint to a macro and the playback will stop when it reaches this point.

COMMENT

Comments are added to a macro for your convenience. They are not processed by the macro-playing engine in any way.

LABEL

Labels are marks that can be used with GOTO statements (see below).

GOTO

The "Goto" statement causes the macro-playing engine to unconditionally transfer control to the label, specified on the goto statement ("jump" to a label). PLEASE NOTE: "labels" and "gotos" work within one macro only. If you use "play another macro" command - goto wont be able to jump into that macro.

WAIT FOR WINDOW

The "Wait for window" construct temporary suspends macro execution, and waits until the window specified in the statement's properties, appears (or disappears).

WAIT FOR USER INPUT

The "Wait for user input" temporary suspends macro execution, and waits until user presses a hotkey, specified in the statements properties. FOR EXAMPLE: Macro Recorder will pause playback and wait until user presses Ctrl + Shift + G on the keyboard. This is useful when commands in a macro have to alternate with manual input.

© JitBit Software Macro Recorder homepage