NetNewsWire 2s embedded browser is better than I thought and I’m using it constantly (one great feature is that it saves tabs upon quit and restores them upon launch). But there’s no quick way of bookmarking a site you’re viewing in NNW with your favourite browser. So here’s a quick and cheerful AppleScript to save the page you’re currently viewing in NetNewsWire 2 as a book mark in OmniWeb. Download SaveBookmarkInOmniweb.scpt and drop into NetNewsWire’s Scripts folder.
tell application "NetNewsWire"
--index of selected tab returns a zero based index, AppleScript lists are one based
set theIndex to index of selected tab + 1
set theURLs to URLs of tabs
set theBookmarkAddress to item theIndex of theURLs
end tell
set theReply to display dialog "Enter title for " & theBookmarkAddress default answer theBookmarkAddress
set theBookmarkName to the text returned of theReply
tell application "OmniWeb"
set theBookmarksDocument to the first bookmarks document
set theProperties to {name:theBookmarkName, address:theBookmarkAddress}
set theNewBookmark to make new bookmark with properties theProperties at end of theBookmarksDocument
end tell
