Skip to content

Instantly share code, notes, and snippets.

@ddeville
ddeville / gist:118a4eb1b52483228383
Created July 12, 2014 21:50
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