NetNewsWire and EverNote

Newsgator Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



NetNewsWire and EverNote Expand / Collapse
Author
Message
Posted 6/26/2008 3:48:08 PM
Forum Member

Forum Member

Group: Forum Members
Last Login: 10/1/2008 8:28:39 PM
Posts: 3, Visits: 4
Hey, I looked a few places (including here) for this information but didn't find it anywhere... I wanted to be able to take the web article I was reading in NetNewsWire (best RSS reader) and post it into Evernote (kickass note taking tool). Evernote doesn't seem Applescripty, so it didn't seem easy to do it directly to the Mac client, but they do have the Javascript bookmarklet. So a little reverse-engineering of the Javascript in the bookmarklet and some googling and I came up with this very short Applescript. Works for me... I put it in the script menu on NetNewsWire.

Hope this helps somebody...

--Ernie

==== cut below here and put into Script Editor ====

-- Clips active web tab from NetNewsWire to Evernote
-- (c) 2008 Ernie Soffronoff
-- ernie.s@gmail.com

tell application "NetNewsWire"

set urlsList to URLs of tabs
set ixCurrentTab to index of selected tab
set titleList to titles of tabs
set the_url to "http://www.evernote.com/clip.action?url=" & (item (ixCurrentTab + 1) of urlsList) & "&title=" & (item (ixCurrentTab + 1) of titleList)

end tell

tell application "Safari"
make new document with properties {URL:the_url}
end tell
Post #40876
Posted 6/26/2008 5:46:28 PM
NewsGator

NewsGator

Group: Administrators
Last Login: Today @ 8:45:32 PM
Posts: 1,031, Visits: 1,940
Very cool! Thanks for posting that.
Post #40882
Posted 6/27/2008 8:39:34 AM
Forum Member

Forum Member

Group: Forum Members
Last Login: 10/1/2008 8:28:39 PM
Posts: 3, Visits: 4
Annnnnnd.... it's broken. They changed the code for the Evernote web clipper the very night I wrote the script. The web clipper is nicer, sure, but it busted my script.

How did I find out about it? The feed of the Evernote blog in NetNewsWire, of course.

Crap. These are such complementary applications (both have Mac/PC/Web clients, both keep all of 'em in sync automagically over the web, both are enormous productivity boosters) that they're a natural fit to have some smooth linkage between them.

Well, maybe I'll have time to look at it again soon to see if I can figure it out again.

--Ernie
Post #40893
Posted 10/1/2008 8:32:48 PM
Forum Member

Forum Member

Group: Forum Members
Last Login: 10/1/2008 8:28:39 PM
Posts: 3, Visits: 4
The new version of Evernote (1.1.5) now has Applescript support, making this a whole lot easier... no need to hack it through the old web-based clipper. Now faster and more direct...




-- Clips active web tab from NetNewsWire to Evernote
-- (c) 2008 Ernie Soffronoff
-- ernie.s@gmail.com

tell application "NetNewsWire"

set urlsList to URLs of tabs
set ixCurrentTab to index of selected tab
set titleList to titles of tabs

end tell

tell application "Evernote"
create note from url (item (ixCurrentTab + 1) of urlsList) title (item (ixCurrentTab + 1) of titleList)
end tell




Pretty groovy...

--Ernie
Post #43396
« Prev Topic | Next Topic »


All times are GMT -7:00, Time now is 11:32pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.156. 10 queries. Compression Disabled.

NewsGator.com | Support | Developers | Partners | Press | Company
© Copyright 2003-2008  NewsGator Technologies, Inc. All Rights Reserved.
Copyright Information | Privacy Policy | Terms of Service
Microsoft Gold Certified Partner