Hi Baur,
I was working on a project that required the same thing today.
It does make a new line, it just doesn't show up in Windows Notepad.
If you open it with Windows Wordpad it works a little better, but is still not perfect with this script.
If you use a different script, it will work a little better though:
Get the information from the TextBox into a Variable:
Create a String Variable called "Textbox"
- Code: Select all
VGetTextboxText,Textbox,1
Now send this to the file with the following code:
- Code: Select all
WDVariableAppendLineToFile,Textbox,PATH TO TEXT FILE.txt
I was able to read this with new lines in Word Pad, but not Note Pad.
Also, your original script will work with Notepad ++ for reference - a free tool that has a lot of additional options compared to the default Windows tools.
Regards,
Justyn