Last active
October 3, 2020 00:03
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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