Save clipboard content to a TXT file in RunMacro
RunMacro RunnerRunMacro 3.5+
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.
Dialog & quick setup

- Make sure the clipboard holds the content to save.
- Add a Random › Save Ref to TXT command and choose the target file.
- (Optional) set the duplicate count. Save.
Options reference
Modes & when to use
RunMacro Runner
Best for
- Record freshly created account info (username, password).
- Save a captured result for later.
- Accumulate data across runs into one file.
Use an alternative when
- Do not use it for structured records or sensitive data requiring encryption.
Before you run
- Add Save Ref to TXT to the macro.
- Prepare the data or target that Save Ref to TXT will use.
Example workflow
Example: save the created account
- Set Clipboard =
{email}|{password}. - Save Ref to TXT →
accounts.txt. - Each sign-up appends a line of info.
Expected result: After execution, Save Ref to TXT completes the described action and makes its result available to the next step.
Tips & limitations
Combine Random Username/Password + Save Ref to auto-record every created account.
- It appends text and may normalize it to one line; directory permissions and concurrent writes affect results.
Applies to RunMacro 3.5+ · RunMacro Runner · Windows 10/11
