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
-- Get the text from Safari | |
tell application "Safari" | |
set thePageText to text of document 1 | |
end tell | |
-- Split the text into paragraphs | |
set thePars to paragraphs of thePageText | |
-- Find all paragraphs matching the desired criteria | |
set theText to "" |