title: How do I write to a text file using AppleScript?
body: <p>So, that's it. How can I write to a text file using AppleScript?</p>
  
  <p>I've tried googling around, but answers seem to be years old and I'm not really sure what should be the preferred idiom this days.</p>