This is an update to address the new Alfred 4 data folder (thanks to xilopaint).
DOWNLOAD Evernote Workflow 9 beta 4 for Alfred 4
Description
Alfred 3 workflow to search and create notes in Evernote.
Search
Keywords
ens to search in every note field
ens @ to search in a selected notebook
ens # to search notes with a selected tags
You can use ent (search in titles only) or enr (search in reminders) or entodo (search to-do notes) or enrec (search notes updated within a week) or enu (search notes with a source URL) instead of ens.
You can select multiple tags to fine tune your searching. Just add a second hash sign and select or type the tag e.g. ens #tag1 #tag2 :my query
In addition, you can select a single notebook then tags too e.g. ent @notebook #tag1 #tag2 :my query
Note that, if you want to select a notebook and/or tags, the query goes after the colon sign as seen above.
Actions
Return key to open the note
Shift key to preview the note
Option key to set a reminder
Control key to paste the note text content to the top most application
Function key to open the note URL
Command key to append text (from clipboard, selected text or typed) or selected file(s) in Finder. After pressing the Command key a new Alfred window will be shown so you will be able to select the text source and the action:
Return key will append without date
Option key with append with current date
Hint: You can also use the Command key to only add tags to a note. To do so, type or select a tag and don't type anything after the colon then select the source "Type a Note" e.g. enn #tag :
Note that Alfred Fallback Search is also supported (you have to add it in Alfred 2 Preferences>Features>Default Results, then click Setup fallback results button).
Create
Keyword enn
http://cl.ly/image/3t1e440l1c0Q/enn8.png
You can optionally type the note title or, for a more complex creation, follow the syntax below:
@Notebook #tag1 #tag2 !reminder :Title
@notebook: after typing @ a list of notebooks will be displayed then select one or type it; the default will be used if omitted
#tags: after typing # a list of tags will be displayed then select one or type a new one (multiple tags are supported, type each one after a hash sign)
!reminder: after typing an exclamation point a list of reminder suggestions will be displayed then select one or type a custom reminder such as in 4 days or 05/01/2014 or 05/01/2014 at 2:00
Title: at the end, after a colon (or the second colon if you are adding time in your reminder)
Note that items of the syntax are optional, however the syntax has to end with a colon, with or without typing the note title e.g. #tag1 :
Note Content Source
From clipboard
From selected text
Typed directly in Alfred
From Safari or Google Chrome URL
From message(s) selected in Mail app
From file(s) selected in Finder app: you can create one note with files or one note for each selected files. Alfred File Browser also supported.
Type a Note also supports multiple lines and, in this case, the first line will be the title of the note e.g. enn Line 1 /n Line 2 /n Line 3
Actions
Return key: create a note
Control Key: create a note and open it
Command key: append text or file to a note
Option key: append text to a note with current date
How to Append
Highlight one of the note content source e.g. From Clipboard
Optionally type tags and a reminder e.g. #tag1 #tag2 !tomorrow
hold command key and hit return key
select a note from the list (search by title only) and hit return key
Mail
Message subject as the note title
Message received date as the note creation date
Message Link as the note source URL
A short header (e.g. sender)
A plain text version of the email content
Note Templates
Read about templates here.
Preferences
Bring Alfred and type the keyword enpref:
Search wildcard: you can set the workflow to automatically use the Evernote search wildcard (*) or you can set the workflow to use only if it is typed (the Manual setting may by faster in a huge note collection).
Download Evernote 9 beta 3
Release date: 99 Jun 2019
Made in OS X 10.13.5
Requires Evernote 7.2 from evernote.com
Requires Alfred 3
Download now
Download Evernote 9 beta 2
Release date: 09 Aug 2016
Made in OS X 10.11.5
Requires Evernote 6 from evernote.com
Requires Alfred 3
Download now
For Alfred 2
Version 8.992
Release date: 20 Feb 2015
Made in OS X 10.10.2
Requires Evernote 6.06 from evernote.com
Requires Alfred 2.6 or later
Download now
What's new?
9 beta 3: minor code optimizations and updated workflow preferences (enpref keyword)
9 beta 2: bugs fixed and Evernote API updated
9 beta 1: Alfred 3 support
8.991: Evernote 6.06 initial support
8.9: Yosemite beta and note templates support
8.7: interface bugs fixed
8.6: enn issue fixed
Improved reminder time support e.g. Tomorrow at 2:00
Added support for tags that start with a hash sign e.g. #Home
Added support for tags that start with an at sign e.g. @Work
Added support for notebooks that start with an at sign e.g. @Notes
Workflow should be faster in most of cases
When appending from a search result now you can hold Option key to include current date
Type a Note supports multiple lines (first line will be the title) e.g. enn Line 1 /n Line 2
New Keyword enl and its hotkey to load the last search query
Added support for some of Alfred 2.3 new features
Workflow version history here.
The problem is the workflow data folder path is hard coded for Alfred 3. You can fix this by changing the line 7 of the workflow.scpt file to this:
set my _data to (system attribute "alfred_workflow_data")
I encourage @Carlos-Sz to use script environment variables in his workflows.