title: Inserting the data in an autohotkey script
body: <p>I have the following script that let's me insert a line in a text file:</p>
  
  <pre><code>^1::
       InputBox, text, fire writing, What did you achieve today?
       file := FileOpen("log.txt", "a")
       file.write(text "`n") 
       file.Close()
   return
  </code></pre>
  
  <p>I would now like to add a date to this so I get DDMMYYYY - mytext. Any thoughts on the edits I should make to this script so I can achieve this?</p>