Skip to content

Instantly share code, notes, and snippets.

@ddeville
Created July 16, 2014 23:28
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/b4db80697605474114bb to your computer and use it in GitHub Desktop.
Save ddeville/b4db80697605474114bb to your computer and use it in GitHub Desktop.
Create a bookmark in Spillo for every tab in the current Safari window
tell application "Safari"
set current_tabs to tabs of front window
repeat with current_tab in current_tabs
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 repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment