DocsFlowOpen File / App

Automatically open a file or app in RunMacro

RunMacro RunnerRunMacro 3.5+

The Open File command launches an app, opens a document or a path — like double-clicking it.

Dialog & quick setup

RunMacro Open File / App command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Open File / App command in RunMacro.
  1. Add a Flow › Open File / App command.
  2. Enter the path to the file/app (e.g. notepad.exe).
  3. (Optional) enter arguments and enable run as Admin.
  4. Add a Wait afterward so the app can open. Save.

Options reference

File path

The path to the app, document, or file to open.

Arguments

Command-line arguments passed to the program (if needed).

Run as Admin

Enable to open with Administrator rights (some apps require it).

Modes & when to use

RunMacro Runner

Best for

  • Open an app to work with at the start of a workflow (e.g. Notepad, Chrome).
  • Open a document/data file to process.
  • Run a program with command-line arguments.

Use an alternative when

  • Do not use Open File when application readiness must be confirmed; add a window or state check after launch.
Before you run
  • Add Open File / App to the macro.
  • Prepare the data or target that Open File / App will use.

Example workflow

Example: open Notepad then type

  1. Open File with notepad.exe.
  2. Wait 1000ms for Notepad to open.
  3. Type Text the desired content.
Expected result: After execution, Open File / App completes the described action and makes its result available to the next step.

Tips & limitations

Always add a Wait after opening so the app is ready before the next step.
Run as Admin may show a UAC prompt that needs manual confirmation.
  • A successful launch does not mean the program is ready; file associations, arguments, permissions, and UAC are Windows-dependent.

Applies to RunMacro 3.5+ · RunMacro Runner · Windows 10/11

RunMacro robot

Robots do the work. Your time is yours.

Create a robot in minutes, no coding needed. Reliable execution, remote management, transparent costs — and you always stay in control.