Skip to content

Instantly share code, notes, and snippets.

@avishaan
Created July 30, 2017 01:15
Show Gist options
  • Save avishaan/accc432efebed0ca7c71139bef274159 to your computer and use it in GitHub Desktop.
Save avishaan/accc432efebed0ca7c71139bef274159 to your computer and use it in GitHub Desktop.
Love using Chrome but miss being able to add the current page to your 'reading list' in Safari, run this script
-- Script will open Chrome, put url of active view onto clipboard, open Safari, add to reading list, wait for abit while added to reading list
tell application "Google Chrome"
activate
set the clipboard to (URL of active tab of first window as text)
end tell
tell application "Safari"
activate
add reading list item (get the clipboard)
delay 3
quit
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment