title: Insert a rule to a script on a new line
body: <p>I wrote the following script that asks for input and then writes this to a file.</p>
  
  <pre><code>^1::
   InputBox, text, fire writing, What did you achieve today?
   file := FileOpen("log.txt", "w")
   file.write(text) 
   file.Close()
  </code></pre>
  
  <p>return</p>
  
  <p>This works. However, Im looking for two other things:</p>
  
  <ul>
  <li>Text should be added instead of replaced.</li>
  <li>After each input Im need a new line. So I have input "A" and "B" the result should be:</li>
  </ul>
  
  <p>A
  B</p>
  
  <p>Any comments on how I should change this code to achieve this?</p>