Docs

RunMacro Documentation

Create your first robot, then go further as needed.

Clear step-by-step guides to create, run, and improve robots for repetitive computer work.

Docs Random Save Ref to TXT
💾 Random

Save clipboard content to a TXT file in RunMacro

The Save Ref to TXT command takes the current clipboard content, cleans it (into one line, trimming extra spaces), then appends it to the end of a TXT file.

Prerequisites#

  • Add Save Ref to TXT to the macro.
  • Prepare the data or target that Save Ref to TXT will use.

Supported modes#

  • RunMacro Runner

What it does#

The Save Ref to TXT command takes the current clipboard content, cleans it (into one line, trimming extra spaces), then appends it to the end of a TXT file. It can duplicate it into several identical lines.

Screenshots & video#

RunMacro Save Ref to TXT command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Save Ref to TXT command in RunMacro.

When to use it#

  • Record freshly created account info (username, password).
  • Save a captured result for later.
  • Accumulate data across runs into one file.

When not to use it#

  • Do not use it for structured records or sensitive data requiring encryption.

Configuration steps#

  1. Make sure the clipboard holds the content to save.
  2. Add a Random › Save Ref to TXT command and choose the target file.
  3. (Optional) set the duplicate count. Save.

Every option explained#

TXT file path#

The file to append to. If the folder is missing, RunMacro creates it.

Duplicate count#

Writes the content as N identical lines (default 1).

Expected result#

After execution, Save Ref to TXT completes the described action and makes its result available to the next step.

Real example#

Example: save the created account#

  1. Set Clipboard = {email}|{password}.
  2. Save Ref to TXT → accounts.txt.
  3. Each sign-up appends a line of info.

Limitations and failure cases#

  • It appends text and may normalize it to one line; directory permissions and concurrent writes affect results.

Tips & common mistakes#

Combine Random Username/Password + Save Ref to auto-record every created account.

Verification details#

  • commands/random_cmd.py
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.