akrnmd
5/10/2018 - 7:32 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