Append a line to a text file in RunMacro
RunMacro RunnerRunMacro 3.5+
The Append Text File command adds text to the end of a TXT file (without overwriting existing content).
Dialog & quick setup

- Add a File › Append Text File command.
- Choose the file path (and output folder if needed).
- Enter the content (variables supported); choose whether to add a newline. Save.
Options reference
Modes & when to use
RunMacro Runner
Best for
- Write a data log to a file to keep it.
- Accumulate results line by line across runs.
- Save a list (emails, tokens...) to TXT.
Use an alternative when
- Do not use it for structured data, lock-required concurrent writes, or encrypted content.
Before you run
- Add Append Text File to the macro.
- Prepare the data or target that Append Text File will use.
Example workflow
Example: append an email to a list
- Append Text File
emails.txt, content{email}, newline on. - Each run appends one email to the file.
Expected result: After execution, Append Text File completes the described action and makes its result available to the next step.
Tips & limitations
For structured multi-column output, use Append Custom CSV Row or Data Source - Write Variables.
- Encoding, newlines, permissions, and multiple writers can corrupt/interleave text; the operation only appends.
Applies to RunMacro 3.5+ · RunMacro Runner · Windows 10/11
