Evernote & Applescript changes since Upgrading to Mountain Lion

ApplescriptNow I know Mountain Lion has been out for ages, but as I had no issues with Lion and everything was working perfectly I did not want to rock the boat by upgrading my main iMac, especially as I have been so busy.  Since I have had a couple of quieter weeks I thought I would upgrade.

Overall the process was painless, although I have had a couple of my automated Applescripts.

My main Applescript which runs everyday, loads evernote and creates a new dated note in a specific notebook with the associated tags.  This is so when I get into work I have a dated logbook entry for each day so I can track what I do each day.

Since the upgrade to Mountain Lion, this script would not run, it just would not do anything, the reason for this is because the way you call evernote has changed.

The original line to load evernote was 

tell application "Evernote"

But this no longer works because this will try and talk to the Evernote Helper if evernote is not active, so I had to change the first line to 

tell application id "com.evernote.evernote"

This now works perfectly as it should.

I am always interested in your thoughts so if you have any comments or feedback then please feel free to add any comments, or you can mail me  here 


Related Posts Plugin for WordPress, Blogger...

Schedule Applescript to run on Mountain Lion

Star Wars in a gif