TxtAddLine

Syntax

TXTAddLine,<Filename>,<StringLine>,<Action> 

With this command we can add a text line at a given location inside a text file, you can specify this location using an action option.

Example:

With this syntax we add a line saying Hello World! in the 5th line counting from the top. If the text file doesn't have 5 lines, then it will be placed after the current last line. There is no limit to this count value.

TXTaddLine,C:\myFile.txt,Hello World!,place,5