Simple script to import Safari page as Reader view

Only works for webpages that support Reader view. I find it useful when sites are loaded with non-sense (ads, etc.) to make a clean, read-friendly import into EagleFiler.


set theService to "EagleFiler: Import"

tell application "System Events"
	tell process "Safari"
		set frontmost to true
		keystroke "r" using {command down, shift down}
		delay 0.5
		keystroke "a" using command down
		delay 0.5
		click menu item theService of menu of menu item "Services" of menu "Safari" of menu bar 1
	end tell
end tell

1 Like