How to Open Evernote Note Templates in a New Window

by Brandon on January 4, 2013

Evernote

In a previous post, I described how to create note templates using Evernote for Windows. A few readers have expressed interest in having the template open in a new window similar to how you can open an empty note in a new window using the Ctrl-Alt-N keyboard shortcut.

I’ve developed a simple workaround. It’s not as elegant as the original method for several reasons:

  • Instead of importing an Evernote note, the workaround simply pastes the contents of a .txt file into an empty note.
  • The new note is created inside the notebook you currently have highlighted, not in the default or specified notebook

That said, here are the steps you’ll want to follow to get the workaround up and running. I’m going to leave out most of the details as they are similar to the details in the previous post on templates (if you haven’t already read that post, I suggest you do so before continuing).

1. Create the Template File

Copy and paste the note content from your template into a .txt file. Save the .txt file in the same folder as your other Evernote templates.

2. Create the Windows Batch File

Here is the batch file you’ll need. Replace the generic information with your own info:

@echo off
 
:CONFIGURATION
Set EvernoteLocation="C:\Program Files (x86)\Evernote\Evernote"
 
:START
cd %EvernoteLocation%
Evernote /newNote
clip < "C:\Users\Your Windows Username Here\Documents\Evernote Templates\Sample Template.txt"
 
:CLEAN-UP
cls
exit

3. Create the AHK Script

Here is the AHK code. If you already have an existing AHK script, simply paste in the following lines of code:

; Ctrl-Alt-t -> Open Template File in New Evernote Window
^!t::
  Run "C:\Users\Your Windows Username Here\Documents\Evernote Templates\Batch File From Step 2.bat"
  sleep 1000
  Send ^v
Return

I used Ctrl-Alt-t as the hot key in this example. You can update the AHK script to use any hot key that you would like to use. For more information, see here.

That’s it. As always, please feel free to leave a comment if you have any questions.

 

{ 2 comments… read them below or add one }

Axel June 14, 2013 at 4:14 PM

I changed the script because I don’t want to start the Evernoteclient, only the new note.

For AHK:
#s::
Run “your cmd-file”
send ^!n
sleep 1000
Send ^v
Return

And in the cmd-File I deleted the line “Evernote /newNote”

Reply

Itamar O September 29, 2013 at 2:12 PM

This is a good approach for doing this, but it seems limited in some aspects w.r.t the imported note, compared to actual enex-file importing.

I did something different: http://itamaro.com/2013/09/29/quick-evernote-template-based-note-creation-with-launchy/

Reply

Leave a Comment

{ 2 trackbacks }

Previous post:

Next post: