Write text file question
Posted: 25 May 2012, 14:55
Hello. I'm trying to create a log txt file for my program. And I'm using write text file function that writes text to logs.txt file.
What it does is writes text next to it, like:
and I want it to do it in new lines like:
so it can be more clear to read, when each write to text file is in new line.
Here is copy of script:
Thank you 
What it does is writes text next to it, like:
Code: Select all
program has started program entered main menu
Code: Select all
program has started
program entered main menu
Here is copy of script:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<scriptfile>
<settings program="actionaz" version="3.4.1" scriptVersion="1.0.0" os="Windows"/>
<actions>
<action name="ActionWriteTextFile" version="1.0.0"/>
</actions>
<parameters/>
<script pauseBefore="0" pauseAfter="0">
<action name="ActionWriteTextFile">
<exception id="0" action="0" line=""/>
<exception id="1" action="0" line=""/>
<exception id="2" action="1" line=""/>
<exception id="32" action="0" line=""/>
<parameter name="mode">
<subParameter name="value" code="0">append</subParameter>
</parameter>
<parameter name="file">
<subParameter name="value" code="0">logs.txt</subParameter>
</parameter>
<parameter name="text">
<subParameter name="value" code="0">Program has started</subParameter>
</parameter>
</action>
<action name="ActionWriteTextFile">
<exception id="0" action="0" line=""/>
<exception id="1" action="0" line=""/>
<exception id="2" action="1" line=""/>
<exception id="32" action="0" line=""/>
<parameter name="mode">
<subParameter name="value" code="0">append</subParameter>
</parameter>
<parameter name="file">
<subParameter name="value" code="0">logs.txt</subParameter>
</parameter>
<parameter name="text">
<subParameter name="value" code="0">Program entered main menu</subParameter>
</parameter>
</action>
</script>
</scriptfile>
