Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Send selected text to Evernote Apps
A colleague asked if anyone knew how to migrate his vast collection of Mac Stickies notes to the cloud. I suggested he get an Evernote account while I did some quick research. I didn't find any existing solution, so and I came up with an Automator workflow that copies the selected plain text into a new Evernote note.

Launch Automator, and create a new Service. Set "Service receives selected" to TEXT in "any application". Drag the Run Applescript action into the main part of the window. Paste this code in that window:
on run {input}
	tell application "Evernote" to activate
	synchronize
	repeat with selectedText in input
		tell application "Evernote"
			if (not (notebook named "Stickies" exists)) then
				make notebook with properties {name:"Stickies"}
			end if
			try
				create note with text selectedText notebook "Stickies"
				synchronize
			end try
		end tell
	end repeat
end run
Save as Send selected to Evernote.

Now, when you highlight text in any app (including Stickies), right-click and select Services > Send Selected no Evernote, it will copy the plain text into a new note (with a title of "Untitled Note") in the Stickies notebook in Evernote.

The nice thing about this Automator service/action is that it will work with plain-text in any application.
    •    
  • Currently 3.50 / 5
  You rated: 1 / 5 (6 votes cast)
 
[5,530 views]  

Send selected text to Evernote | 7 comments | Create New Account
Click here to return to the 'Send selected text to Evernote' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Send selected text to Evernote
Authored by: Macdaily on Jun 13, '13 07:56:19AM

You can use an amazing little Mac app call PopClip. It has an amazing section of extensions including sending anything copied to Evernote and MANY other applications

Review here at Macdaily - PopClip Review

Application link here - iTunes Link

It is well worth the 5 dollars. I use it daily in so many different ways.



[ Reply to This | # ]
Send selected text to Evernote
Authored by: ianjudge on Jun 13, '13 03:09:33PM

As an Evernote user I tried this hint, but I get a dialog stating "The action 'Run AppleScript' encountered an error". And the Console reports "There was a problem with the input to the Service." What am I doing wrong?



[ Reply to This | # ]
Send selected text to Evernote
Authored by: adayzdone on Jun 13, '13 06:39:31PM

This script will produce an error because the first synchronize command is not within a tell application "Evernote" block.



[ Reply to This | # ]
Send selected text to Evernote
Authored by: BiL Castine on Jun 14, '13 06:53:31AM
To clarify the above comment, change the 3rd line that reads " synchronize" to

tell application "Evernote" to synchronize

[ Reply to This | # ]
Send selected text to Evernote
Authored by: davidallie on Jun 17, '13 10:47:04AM

Thank BiL Castine for pointing that out. I eliminated that first 'synchronize' entirely, leaving just the one within the TELL segment:

on run {input}
tell application "Evernote" to activate
repeat with selectedText in input
tell application "Evernote"
if (not (notebook named "Stickies" exists)) then
make notebook with properties {name:"Stickies"}
end if
try
create note with text selectedText notebook "Stickies"
synchronize
end try
end tell
end repeat
end run



[ Reply to This | # ]
Send selected text to Evernote
Authored by: BiL Castine on Jun 14, '13 07:07:17AM

Of course, you could also use the Evernote Helper Menu Extra to copy anything from anywhere (rich text, images, etc…).
Just select something in any application, copy with command-C, then paste into a new note with command-control-V. If you don't see an elephant in the menu bar, you may need to turn it on in Evernote >> Preferences >> General.

While you're investigating the Evernote Helper, check out the new Quick Note feature that lets you type or paste a note in Evernote without having to switch to the application.



[ Reply to This | # ]
Send selected text to Evernote
Authored by: black_dahlia on Jul 25, '13 01:44:01AM

Hi,

and thank you so much for this Script.

I tend to use this feature specifically into Preview (for clipping short citations selected in a PDF).

The only problem is that the notes created are untitled, which can be a bit painful afterwards.

Do you think it would be possible to customize the script in order that the created note bear the name of the PDF source ?

Being totally ignorant in Applescript matters, I'm afraid I can't do any propositions so far.

Thank you in advance for your feedback !



[ Reply to This | # ]