Skip to content

Instantly share code, notes, and snippets.

@ddeville
Created July 12, 2014 21:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ddeville/118a4eb1b52483228383 to your computer and use it in GitHub Desktop.
Save ddeville/118a4eb1b52483228383 to your computer and use it in GitHub Desktop.
Create a new bookmark in Spillo with the content from the frontmost tab in Safari
tell application "Safari"
set current_tab to current tab of front window
set tab_title to name of current_tab
set tab_address to URL of current_tab
tell application "Spillo"
make new bookmark with properties {url:tab_address, title:tab_title}
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment