/ Published in: AppleScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
set theFile to (choose file with prompt "Select a file to read:" of type {"TXT"}) open for access theFile set fileContents to (read theFile) close access theFile