Applescript: add document currently shown in Safari to Delicious

 
I just switched from Firefox to Safari and was looking for a nice way to add the website currently shown in Safari to my Delicious bookmarks. Delicious itself offers a bookmarklet for that purpose, but I prefer leaving the bookmark bar hidden. So I came up with a litte Applescript

 

Save a Bookmark on Delicious

Dialog shown after execution of script

 

It does nothing more than telling Safari to execute the same Javascript as the bookmarklet would do. Calling it from within an Applescript has one huge advantage called Quicksilver. I set up a trigger to execute this script with the scope of Safari (scopes seem to be broken in Leopard) and assigned the hotkey CMD-D.

This trigger in combination with Quicksilver’s “Social bookmarks” plugin is a great way use delicious with Safari.

Download the script: delicious_add_from_safari

Share and Enjoy:
  • Facebook
  • Twitter
  • del.icio.us
  • Diigo
  • Google Bookmarks
  • Digg
  • Reddit
  • StumbleUpon
  • MySpace
  • MisterWong
  • DZone
  • Slashdot
  • PDF
  • Print
  • email