Speeding up keystroke automation?
Read the file, then extract the paragraph
Very simplified...
set theFile to open for access myPath 
set fileContents to (read theFile)
close access theFile
set myParas to count paragraphs of fileContents 
repeat with i from 1 to myParas 
    set myText to myText &amp; &quot;\n&quot; &amp; paragraph i of fileContents
end repeat
  
tell application &quot;app&quot; to activate
tell application &quot;System Events&quot; to keystroke myText