Docs

RunMacro Documentation

Learn RunMacro from basics to advanced.

Everything you need to start and master RunMacro — from basic commands to advanced automation workflows.

RunMacro robot
Docs Flow Insert .pmacro
📎 Flow

Insert and run a .pmacro sub-macro in RunMacro

What it does

The Insert .pmacro command calls and runs another macro file as a sub-macro, right at its position. It lets you reuse common script parts and split a large workflow into tidy files.

When to use it

  • Reuse a common script part (e.g. login) in many places.
  • Split a large workflow into manageable files.
  • Build a library of reusable sub-macros.

Configuration steps

  1. Add a Flow › Insert .pmacro command.
  2. Choose the path to the .pmacro file to run.
  3. Save. On reaching it, the whole sub-macro runs before continuing.

Every option explained

File path (.pmacro)

The sub-macro file to load and run. A missing file reports an error (it does not silently continue).

Real example

Example: reuse a login macro

  1. Create login.pmacro with the login steps.
  2. In the main workflow, Insert .pmacro pointing to it.
  3. Whenever login is needed, just insert this file.

Tips & common mistakes

RunMacro blocks circular recursion (A calls B, B calls A) to avoid hangs — but avoid designing it that way.
Pair with Goto Parent File so a sub-macro can navigate back to the parent.
RunMacro robot

Ready to automate smarter?

Download RunMacro and start automating your desktop, browser, and business workflows today.