I am a NetNewsWire junkie, and have recently discovered the del.icio.us website -- an online bookmark storage system (actually it's a bit more than that, but that's a quick explanation).
Since I do most of my reading in NetNewsWire what I really wanted was the ability to grab headlines while reading in NNW and post them to my del.icio.us account. I created the following AppleScript to do just that. Create the AppleScript below and save it to your NetNewsWire scripts directory. Then while reading in NNW, select any headline (unfortunately I have been unable to figure out how to get it to snag the pertinent info while actually viewing content) and choose the script from the Script menu.
tell application "NetNewsWire"
set u to (URL of selectedHeadline) & "&title=" & ¬
(title of selectedHeadline) & "&extended=" & ¬
(description of selectedHeadline) & "&tags=" & ¬
(subject of selectedHeadline)
end tell
tell application "Safari"
activate
open location ¬
"http://del.icio.us/YOUR_ACCOUNT_NAME?noui=yes&jump=close&url=" ¬
& u
end tell
Or just click here to open the above AppleScript in a new Script Editor window.
Mac OS X Hints
http://hints.macworld.com/article.php?story=20040929145251144