Created
July 12, 2014 21:50
-
-
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
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_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