Posted By

polo_87 on 06/19/11


Tagged


Versions (?)

Text file Into an AppleScript Variable


 / Published in: AppleScript
 

  1. set theFile to (choose file with prompt "Select a file to read:" of type {"TXT"})
  2. open for access theFile
  3. set fileContents to (read theFile)
  4. close access theFile

Report this snippet  

You need to login to post a comment.