akrnmd of CE
6/1/2018 - 6:45 AM

Example of reading a text file line by line and repeating processing until the last line. #SenseTalk

Example of reading a text file line by line and repeating processing until the last line. #SenseTalk

set MyFile to resourcepath("textfile.txt")
repeat with MyLine = each line of file MyFile
  typetext MyLine, returnKey
end repeat