Brewed Fresh Daily » My NetNewsWire -> del.icio.us applescript » Opinions, news and events from Clev

Brewed Fresh Daily

January 29, 2006
My NetNewsWire -> del.icio.us applescript by George
Here’s what I’m using to send stuff from NNW to my del.icio.us account:

tell application “NetNewsWire”
set u to (URL of selectedHeadline) & ¬
“&title=” & (title of selectedHeadline) & ¬
“&extended=” & (text 1 thru 100 of (get description of selectedHeadline)) & ¬
“…” & “&tags=” & (subject of selectedHeadline)
end tell

tell application “System Events”
activate
open location “http://del.icio.us/YOUR_USERNAME?v=3&url=” & u
end tell

If you don’t want the URL to open in the browser after you save your del.icio.us bookmark, use open location “http://del.icio.us/YOUR_USERNAME?v=3&jump=close&url=” & u

Remember to change YOUR_USERNAME to your actual del.icio.us username.

Filed under: Blogging, Tech @ 11:46 am

E-Mail This Article

7 Responses to “My NetNewsWire -> del.icio.us applescript”

Justin Says:
January 30th, 2006 at 2:25 pm
Great tip!

Did you assign a hotkey for this, and if so, what were t

http://www.brewedfreshdaily.com/2006/01/29/my-netnewswire-delicious-applescript/

Advertisements