• Announcements

    • Shane D.

      Announcing 'Spaces' for Evernote Business!   02/27/2018

      Hi All, We're very excited to announce the launch of Spaces for Evernote Business! I invite you to find more details and learn more in our most recent Community Announcement! 
    • Shane D.

      Code of Conduct   03/26/2018

      Hi All, The updated version of the Code of Conduct has been implemented, and you will need to accept those terms before proceeding. If you would like to review the Code of Conduct, you can do so Here
    • Shane D.

      Update to Evernote Subscription Plans   04/12/2018

      Hi All, We've made some updates to our Evernote subscription plans. To learn more, please see the 'Update to Evernote Subscription Plans' thread in the Community Announcements forum, or you can go here.
wdhaines

Select note with AppleScript

Recommended Posts

I’ve put together an Applescript to create notes from templates. The final step is to select the note that has been imported so that I can type right into it. I can’t for the life of me find a way to do this in the script dictionary. All the selections are read-only. Any ideas?

-- Create a new notebook, import the template file, and show shortcut

tell application "Evernote"

set newNotes to import templatePath to curNotebook with tags

set newNote to item 1 of newNotes

set query string of front window to (("notebook:\"" & curNotebook & "\"" as string) & " tag:\"" & curTime & "\"" & " tag:\"@" & templateName & "\"" as string)

set creation date of newNote to current date

set modification date of newNote to current date

-- SELECT THE NOTE SOMEHOW

end tell

Thanks.

Share this post


Link to post

Good suggestion. That isn’t exactly what I want; I have no need for the extra window, but it is definitely better than importing the note and having it not be focused.

The ability to affect the selected note, especially in list view would be a great feature to add.

Share this post


Link to post

I'm having this problem too, but it's new.  I don't even think it's Evernote's issue but the new OS.  Even "open note window" opens the window unfocused.  Open note window used to work, but lately it doesn't.

Share this post


Link to post