Jump to content


Photo

Evernote 8.9 (Yosemite support): Search, Create, Append, Preview, set Reminders... All within Alfred

evernote search add

  • Please log in to reply
479 replies to this topic

#1 Carlos-Sz

Carlos-Sz

    Community Hero

  • Member
  • PipPipPip
  • 806 posts

Posted 14 March 2013 - 04:41 PM

Description

Alfred 2 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.

en_all.png

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

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

Preferences

Bring Alfred and type the keyword enpref:

  • Quick Look: select Card (Evernote default) or HTML (entire note content)
  • Search wildcard: select Manual (type an asterisk after the query string) or Automatic (may be slower)

Download Evernote 8.7

  • Release date: 10 May 2014
  • Made in OS X 10.9.2
  • Requires Evernote 5.5 from evernote.com
  • Requires Alfred 2.3 or later
  • Download now

Download Evernote 8.9 (also supportsYosemite)

 

  • Release date: 24 Aug 2014
  • Made in OS X 10.9.2
  • Requires Evernote 5.5 from evernote.com
  • Requires Alfred 2.5 or later
  • Download now

 

Download Evernote 8.92 for the new Evernote 5.6 (also supportsYosemite)

 

  • Release date: 24 Sep 2014
  • Made in OS X 10.9.2
  • Requires Evernote 5.6 from evernote.com
  • Requires Alfred 2.5 or later
  • Download now

 

What's new?

  • 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.


Edited by Carlos-Sz, 20 October 2014 - 08:18 PM.

  • Pedro Lobo, Jono, drking and 25 others like this

#2 belgian87

belgian87

    Newbie

  • Member
  • Pip
  • 2 posts

Posted 14 March 2013 - 07:41 PM

Excellent!



#3 freddybushboy

freddybushboy

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 14 March 2013 - 11:56 PM

Brilliant



#4 slyfox

slyfox

    Newbie

  • Member
  • Pip
  • 12 posts

Posted 15 March 2013 - 01:30 AM

I don't get any results other than the message "Evernote searching" ??

 

Edit: It started working. Does this workflow searches Evernote in background or does it rely on spotlight's metadata?

 

Is there a way to include a search for Evernote note titles only in the global search?



#5 Carlos-Sz

Carlos-Sz

    Community Hero

  • Member
  • PipPipPip
  • 806 posts

Posted 15 March 2013 - 03:27 AM

I don't get any results other than the message "Evernote searching" ??

 

Edit: It started working. Does this workflow searches Evernote in background or does it rely on spotlight's metadata?

 

Is there a way to include a search for Evernote note titles only in the global search?

 

You can search only in titles using intitle:

 

So if you are searching for notes that have the word “movie” just type intitle:movie

 

More hints here: http://dev.evernote....rch_grammar.php

 

In addition, remember that Evernote does not search for half words. Use asterisk if you want to type only part of a word e.g. mov*



#6 pdadoc

pdadoc

    Newbie

  • Member
  • Pip
  • 3 posts

Posted 16 March 2013 - 01:00 PM

Any way to make a slight tweak so it opens in main evernote window (as opposed to a separate popup with the entry)?-- Thanks!- this works great.


Edited by pdadoc, 16 March 2013 - 01:01 PM.


#7 slyfox

slyfox

    Newbie

  • Member
  • Pip
  • 12 posts

Posted 16 March 2013 - 04:21 PM

Are there any other workflow other than this one? I am not really sure what happens in the background but when I search for something, I have to wait a few seconds for results to come back whereas if I use spotlight search, Evernote results are instant. 



#8 Carlos-Sz

Carlos-Sz

    Community Hero

  • Member
  • PipPipPip
  • 806 posts

Posted 16 March 2013 - 05:18 PM

Are there any other workflow other than this one? I am not really sure what happens in the background but when I search for something, I have to wait a few seconds for results to come back whereas if I use spotlight search, Evernote results are instant. 

 

 

 

Any way to make a slight tweak so it opens in main evernote window (as opposed to a separate popup with the entry)?-- Thanks!- this works great.

 

Evernote for Apple Script does not have a direct way to do that (as far as I can see). Anyway, I’ll try to find a workaround… Remember that you can see results in Evernote using the fallback search (see initial post).

 

Are there any other workflow other than this one? I am not really sure what happens in the background but when I search for something, I have to wait a few seconds for results to come back whereas if I use spotlight search, Evernote results are instant. 

 

 

How many notes do you have? It’s fast here but I have about 100 notes.

 

I’ll see what I can do to tweak the workflow making it faster.

 

Florian has an Evernote workflow with a different (faster) searching approach though I’m not sure it searches for content.



#9 Cedric

Cedric

    Newbie

  • Member
  • Pip
  • 13 posts

Posted 16 March 2013 - 06:24 PM

Works very well, but as mentioned it sometimes hangs a few seconds.
I'd add that Spolight allows to preview the results as well, while I can't do that from alfred if use the previewer (shift).

 

Thanks much for your work anyway.

Cheers.



#10 Carlos-Sz

Carlos-Sz

    Community Hero

  • Member
  • PipPipPip
  • 806 posts

Posted 17 March 2013 - 03:45 AM

Works very well, but as mentioned it sometimes hangs a few seconds.
I'd add that Spolight allows to preview the results as well, while I can't do that from alfred if use the previewer (shift).

 

Thanks much for your work anyway.

Cheers.

 

 

Can you please test search with this new version (beta)? Download

 

Regarding Spotlight and preview. This workflow is using Evernote Script Dictionary instead of reading files directly. Right now the Evernote script does not give the path to the note (or to its image preview), only a reference to the note. Though Evernote scripting does this its quick look is not prepared for that, at least not yet. Anyway, I’ll try to find a way to make things easier just in case the title is not enough.



#11 primeminister

primeminister

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 17 March 2013 - 08:50 AM

Also check out www.thoughtasylum.com which has already an extensive evernote workflow


  • sylumer likes this

#12 DJay

DJay

    Member

  • Member
  • PipPip
  • 181 posts

Posted 17 March 2013 - 09:35 AM

Can you please test search with this new version (beta)? Download

 

Regarding Spotlight and preview. This workflow is using Evernote Script Dictionary instead of reading files directly. Right now the Evernote script does not give the path to the note (or to its image preview), only a reference to the note. Though Evernote scripting does this its quick look is not prepared for that, at least not yet. Anyway, I’ll try to find a way to make things easier just in case the title is not enough.

 

First of all thanks for your great work and sharing it.  :)

Is this right, Evernote has to run/be open all the time. It's not like search via spotlight?


Edited by DJay, 17 March 2013 - 09:36 AM.

iMac 21.5 (Late 2012) | 3,1 GHz i7 | 16 GB RAM | OS X 10.10 | Safari 8.0


#13 Cedric

Cedric

    Newbie

  • Member
  • Pip
  • 13 posts

Posted 17 March 2013 - 11:40 AM

Can you please test search with this new version (beta)? Download

 

I did, and I didn't notice much change comparted to the previous version.
I still can't preview the note like in spotlight, and it still hangs a few seconds, sometimes showing an set of note before switching to another.

I think it doesn't correctly recognize text with special accents like "maïs" (corn in French).



#14 Carlos-Sz

Carlos-Sz

    Community Hero

  • Member
  • PipPipPip
  • 806 posts

Posted 17 March 2013 - 04:58 PM

@ all

 

RIght now Evernote does not give too much commands to talk directly to it (in order to make scripts).

 

The intention here is to make use of those commands.

 

So this workflow may work for some users as it is (Evernote running, no preview…) though improvements may come of course.

 

However, if you need spotlight approach there is a great workflow made by Florian. Check it here.



#15 slyfox

slyfox

    Newbie

  • Member
  • Pip
  • 12 posts

Posted 17 March 2013 - 05:55 PM

I have about 2 thousands notes. I tried this workflow and so far it works faster - http://florianpellet.com/alfred/



#16 Carlos-Sz

Carlos-Sz

    Community Hero

  • Member
  • PipPipPip
  • 806 posts

Posted 17 March 2013 - 06:37 PM

I have about 2 thousands notes. I tried this workflow and so far it works faster - http://florianpellet.com/alfred/

 

I still have about 100 notes. Most of them vey short.

 

Can you please make an intitle search in my workflow? Open Alfred window and type en intitle:your query

 

Replace your query for something else of course. :)

 

I’m saying that because my workflow is also searching notes content.

 

@ All

 

I have played around with Evernote and spotlight. Though I see it can be useful for some users the Evernote preview is very limited. It is just a screenshot of part of the note. For me it is barely usable. If I search for content the tiny screenshot can’t show anything that helps identify the note.

 

But as soon as Evernote provides a command to handle preview I’ll surely add the feature.

 

In the meantime, the workflow now always displays a first item that will show the results in Evernote just in case the note title isn’t enough:

 

evernote4.png

 

Download the new version here.


Edited by Carlos-Sz, 18 March 2013 - 01:17 AM.

  • DJay likes this

#17 Cedric

Cedric

    Newbie

  • Member
  • Pip
  • 13 posts

Posted 18 March 2013 - 02:28 AM

Good addition.

Thank you for work on this extension.



#18 ripvega

ripvega

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 18 March 2013 - 10:48 AM

Works great. I have 1000+ notes and it's really speedy.



#19 Trauni

Trauni

    Newbie

  • Member
  • Pip
  • 11 posts

Posted 18 March 2013 - 04:26 PM

Perfect work, one simple question: 

 

What is the text initiation for the functions? 

I will shortcut "New Evernote from clipboard" and text selection. 

 

Best regards



#20 Carlos-Sz

Carlos-Sz

    Community Hero

  • Member
  • PipPipPip
  • 806 posts

Posted 18 March 2013 - 04:28 PM

Good addition.

Thank you for work on this extension.

 

Thank you for your feedback.

 

Works great. I have 1000+ notes and it's really speedy.

 

Great to hear. Search for content can slow down things a bit.





Also tagged with one or more of these keywords: evernote, search, add

2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users