Skip to main content
  1. Blog/

Airmail tip: prevent "Save to Evernote" action from opening the created note

·197 words·1 min·
Diego Zamboni
Author
Diego Zamboni
I’ve been trying out Airmail as my main email app. It’s quite nice, I like the built-in integrations, particularly with Evernote. By default, when you use the “Save to Evernote” action, it saves the current message to Evernote and opens the newly-created note. I went spelunking into the Airmail application directory, and found the way to disable the note-opening. Follow these steps:
  1. Quit Airmail (don’t know if this is necessary, but it can’t hurt)
  2. Open the Terminal app
  3. Run the following command in the terminal (all in a single line):
    sudo /Applications/Utilities/AppleScript\ Editor.app/Contents/MacOS/AppleScript\ Editor  /Applications/Airmail.app/Contents/Resources/Evernote.applescript
    This will ask you for your password and then run the AppleScript Editor.
    Note: in my experience, the AppleScript Editor app may open behind the terminal window - look at the Dock for its icon, and bring it to the front.
  4. In the AppleScript Editor window, find this line:
                open note window with the note
    and comment it out by inserting a # at the beginning, like this:
    #            open note window with the note
  5. Save the modified file and quit AppleScript Editor.
  6. Restart Airmail.
That’s it! Now the “Save to Evernote” action saves the current message to Evernote, but does not open it.