Remaku

Step Types

The building blocks available in Remaku macros.

StepDescription
KeyPress a keyboard key or modifier combination.
DelayWait for a fixed number of milliseconds.
Text InputType text with an optional delay between each character.
Mouse ClickClick at screen coordinates or at the center of a found image.
Mouse MoveMove the cursor to coordinates or to the center of a found image.
Mouse ScrollScroll the mouse wheel by a set number of clicks.
Wait ImagePause until a template image appears on screen.
Hold Key Until GoneHold a key while a template is visible, release when it disappears.
RepeatRepeat child steps a set number of times.
If ImageBranch: run then-steps if the image is found, else-steps otherwise.
If Any ImageMonitor multiple templates and run the branch for the first one matched.
Grid NavigationStep through grid cells in rotation, with custom actions per row/column.

Every step has a Skip toggle to temporarily disable it and an optional Note field for inline documentation.


Key

Key step properties

FieldDefaultDescription
KeyenterThe key or modifier combination to press.
Hold (ms)90How long the key is held down.

Delay

Delay step properties

FieldDefaultDescription
Duration (ms)500How long to wait in milliseconds.

Text Input

Text Input step properties

FieldDefaultDescription
Text(empty)The text to type. Supports Unicode.
Interval (ms)0Delay between each keystroke (0 = as fast as possible).

Mouse Click

Mouse Click step properties

When Target is Coordinate:

FieldDefaultDescription
ButtonLeftMouse button: Left, Right, or Middle.
TargetCoordinateClick at screen coordinates.
X0Horizontal position in pixels.
Y0Vertical position in pixels.
RelativeClientClient = relative to target window, Absolute = screen coordinates.

When Target is Image Center:

FieldDefaultDescription
ButtonLeftMouse button: Left, Right, or Middle.
TargetImage CenterClick at the center of a found image.
Template(none)The template image to find.
Threshold85%Required match confidence.
Timeout (ms)5000How long to wait for the image.
On TimeoutStopStop the macro or Continue past this step.

Mouse Move

Mouse Move step properties

When Target is Coordinate:

FieldDefaultDescription
TargetCoordinateMove to screen coordinates.
X0Horizontal position in pixels.
Y0Vertical position in pixels.
RelativeClientClient = relative to target window, Absolute = screen coordinates.

When Target is Image Center:

FieldDefaultDescription
TargetImage CenterMove to the center of a found image.
Template(none)The template image to find.
Threshold85%Required match confidence.
Timeout (ms)5000How long to wait for the image.
On TimeoutStopStop the macro or Continue past this step.

Mouse Scroll

Mouse Scroll step properties

FieldDefaultDescription
Scroll Clicks3Number of scroll notches. Positive = up, negative = down.
Interval (ms)0Delay between each scroll notch.

Wait Image

Wait Image step properties

FieldDefaultDescription
Template(none)The template image to wait for.
Threshold85%Required match confidence (0–100%).
Timeout (ms)5000How long to wait before giving up.
On TimeoutStopStop the macro or Continue to the next step.

Hold Key Until Gone

Hold Key Until Gone step properties

FieldDefaultDescription
KeyenterThe key to hold while the image is visible.
Template(none)The template image to watch.
Threshold85%Required match confidence.
Load Delay (ms)2000Grace period after the macro starts before checking.
Find Timeout (ms)15000How long to wait for the image to first appear.
Gone Grace (ms)1500How long the image must be gone before releasing the key.
Hard Timeout (ms)180000Maximum total duration. Stops the macro if exceeded.

Repeat

Repeat step properties

FieldDefaultDescription
Count1How many times to repeat the child steps.

Add child steps inside the Repeat block in the step tree.


If Image

If Image step properties

FieldDefaultDescription
Template(none)The template image to check for.
Threshold85%Required match confidence.
Timeout (ms)5000How long to wait for the image.

Add child steps under the Then branch (image found) and Else branch (image not found).


If Any Image

If Any Image step properties

FieldDefaultDescription
Templates(none)Multiple template images to scan for.
Threshold85%Required match confidence.
Timeout (ms)5000How long to wait before giving up.
On TimeoutStopStop the macro or Continue.

Add child steps under each template's branch. The first template matched determines which branch runs.


Grid Navigation

Grid Navigation step properties

FieldDefaultDescription
Rows1Number of rows in the grid.
Start Cell0Which cell to start at (0-based).

Add child steps under On Next Row and On Next Column to define what happens when moving through the grid.

On this page