Skip to content

Instantly share code, notes, and snippets.

@akrnmd
Last active October 3, 2020 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akrnmd/0cac375488a4b30712b5c895e98a040a to your computer and use it in GitHub Desktop.
Save akrnmd/0cac375488a4b30712b5c895e98a040a to your computer and use it in GitHub Desktop.
Example of reading a text file line by line and repeating processing until the last line. #SenseTalk #eggplant
set MyFile to resourcepath("textfile.txt")
repeat with MyLine = each line of file MyFile
typetext MyLine, returnKey
end repeat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment