Evangelism Reps Training Program/How to prepare a screencast: Difference between revisions

Line 86: Line 86:


   set fileContents to read POSIX file "/your/script/location/script.js" as «class utf8»
   set fileContents to read POSIX file "/your/script/location/script.js" as «class utf8»
   set the text item delimiters to (ASCII character 10)
   set the text item delimiters to (ASCII character 10)
   set mylines to text items in fileContents
   set mylines to text items in fileContents
Line 92: Line 91:
     write_string(currentline)
     write_string(currentline)
   end repeat
   end repeat
   on write_string(the_string)
   on write_string(the_string)
     tell application "System Events"
     tell application "System Events"
Confirmed users
376

edits