View Single Post
I am learning applescript for the first time, so I am going slow.

I did pick up on what I think one problem:

I think you need to close the file after writing to it.