brucem76

Is it possible to extend Evernote functionality in the Mac app?

6 posts in this topic

I am interested in extending the functionality of Evernote, within the Evernote app on a Mac - much in the same way you add a macro in a spreadsheet to perform an automated function each time it is triggered.


I know it is possible to write other apps that can interact with Evernote via the API, but is it possible to create functionality within Evernote - add an icon, or a menu item, or a keyboard shortcut to fetch some live info from a web service, and paste it into the open doc?


1 person likes this

Share this post


Link to post

Yes but someone would need to write the helper app and you might need to follow it up with a paste command, although maybe you could do the whole thing with AppleScript.

 

The key is using a Custom URL Handler.

 

See this superuser discussion and this StackOverflow answer.

 

So, once you have the script working, you put a special URL on an image or piece of text in the note.

 

I will play with this if someone else doesn't implement an example for you but not for a few days.

Share this post


Link to post

Thanks - but I'm not sure that's gonna solve my problem. I want to be in Evernote on my Mac, busy working on a note, then I want to be able to highlight a section of text, and somehow get it to access a web service with this text, receive other text back, and insert the new text into the document. I could do this in a spreadsheet or word doc by writing a macro. Any way of extending Evernote in this kind of way?

Share this post


Link to post

You could create an applescript service and then run operations on the selected text (image attached). There is no other plugin mechanism in the Mac app. 

post-111931-0-52686300-1376069740_thumb.

1 person likes this

Share this post


Link to post

Thanks, Mustafa, for reminding me of services - I always forget them!  :wacko:

 

Bruce, sorry, I wasn't thinking of you wanting to work on arbitrary content from your note. I was thinking just about having something clickable in a note to trigger the action.

 

Mustafa's solution is a pretty cool idea. My offer still stands - if you're not able to do this by yourself I will do it later in the week as a nice exercise.

Share this post


Link to post

Thanks guys - the Applescript/Automator tip was perfect - I created a service, got it to input the selected text, used Applescript to modify the text into a URL,called a web service and got a text result back, and replaced original text with this.

Assigned a keyboard shortcut, and now in any app on my Mac, Evernote included, I can select text, hit my keyboard shortcut, and a live web result appears in its place, like magic.

1 person likes this

Share this post


Link to post