Created
July 16, 2014 23:28
-
-
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
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
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