Jump to content


Photo

Evernote 6.0: Search, Create, Append text and more all within Alfred

evernote search add

  • Please log in to reply
146 replies to this topic

#1 Carlos-Sz

Carlos-Sz

    Advanced Member

  • Member
  • PipPipPip
  • 393 posts

Posted 14 March 2013 - 04:41 PM

Evernote 6.0

Goals

  • Connect direclty to Evernote API even for searching notes
  • Search Evernote within Alfred window
  • Add notes based on clipboard content, text selection, file, email or typed directly in Alfred window
  • If the note is added from Safari, Chrome, Firefox or Mail app save also the URL
  • Start Evernote automatically if necessary

Triggering

Keyword enHelp

Learn about Evernote workflow.

Keyword en

Use it to search notes content, titles and tags.

The workflow will display up to 20 notes but the total found will be displayed in the first item. Refine the search to find what you want or click Show in Evernote to continue your search from there.

en_search.png

You can basically search like if you were using Evernote. For example:


  • use asterisk as wildcards e.g. xm*
  • search in a notebook e.g. notebook:internet
  • search only in title e.g. intitle:something
  • search for a tag e.g. tag:something
  • search for a tag with wildcard e.g. tag:some*

In addition, you can list all your Notebooks by typing a single hash sign:

en_notebooks.png

Then you can select one by hiting return key and then search only in this notebook (after a second hash sign):

en_nbsearch.png

Direct Paste: paste the selected note text content directly in another application e.g. a text editor or email.

How to use Direct Paste:

  • while writing a document with your text editor for example, bring Alfred and type the keyword en or ent (or use one of the hotkeys)
  • after finding your note, highlight it, hold control key and hit return key
  • The note text content will be pasted to the editor

Keyword ent

Use it to search in notes titles only.

The workflow will display up to 20 notes but the total found will be displayed in the first item. Refine the search to find what you want or click Show in Evernote to continue your search from there.

You can also use asterisk as wildcards e.g. xm*

Keyword ennew

Use it to add a new note with the clipboad content, text selection, files selected in Finder, messages selected in Mail app or with the text typed in Alfred window. Finder and Mail features will be available only if there is something selected in these applications and they are the topmost one.

ennew without any file or message selected:

ennew_nosel.png

ennew with a file selected in Finder:

ennew_finder.png

ennew with a message selected in Mail:

ennew_mail.png


What you can do while creating a New Note using the keyword ennew:

  • type the note title (from clipboard, text selection and file from Finder) e.g. ennew my note title
  • type tags (comma separated) after typing a hash sign e.g. ennew my note title#tag1,tag2
  • add a new note to an existing notebook, or a new one, after a second hash sign e.g. ennew my note title#tag1,tag2#My Notebook
  • If you are willing to type a new note the title and the note content will be the same
  • Hold control key to append text to an existing note

How to append:

  • Highlight one of the note content e.g. Type a Note
  • Optionally type the note content and add tags (comma separated) after a hash e.g. ennew my note#tag1,tag2
  • hold control key (the subtitle will indicate the appending operation) and hit return key
  • a list of notes (only titles will be searched) will be displayed in Alfred
  • type something to find your note then select it and hit return key

Mail special feature

You can select messages from Mail then bring Alfred window, type the keyword ennew, then select New Note from Messages Selected in Mail.

The new note will have:

  • Message subject as the note title
  • Message received date as the note creation date
  • Message URL or Link as the note source URL
  • A short header (basic email information such as sender)
  • A plain text version of the email content

Keyword typenote

Use it to easily create a note by typing in Alfred.

Read about tags, notebook and appending above.

Keyword ensync

Use it to make Evernote synchronize.

Note that in order to make all features work properly the workflow will automatically synchronize Evernote after a new note is created or changed.

Hotkeys

The workflow provides 5 hotkeys:

  • en - go to search note content and title
  • ent - go to search note title only
  • typenote - go to type a new or append text to a note
  • New Note from Clipboard - creates a new note with the clipboard content (no interaction)
  • New Note from Text Selection - creates a new note with the text selection (no interaction)

File Action

Add files to Evernote from Alfred file browser.

Fallback Search

In order to use this feature add it in Alfred 2 Preferences>Features>Default Results then click Setup fallback results button.

What’s new

Version 6.0

  • Easily import selected messages in Mail
  • Imporved New Note from Text Selection if topmost application is Mail
  • URL and email URL added to source URL field of the note (instead of appended to the end of the note)
  • Improved support for multiple selected files in Finder
  • New Note from Finder Selected Files: note creation date will be the file one (thanks to dantetemp)
  • List all notebooks and search from one of them: use keyword en then type a hash sign e.g. en #
  • Several internal improvements including support for Alfred 2.0.3 (187) that fixes some issues regarding AppleScripts

Version 5.0

  • Save the new note in an existing notebook or in a new one e.g. MyNote#MyTags#Notebook
  • Append text to an existing note
  • Automatically synchronize Evernote after a note is created or changed
  • Added ensync keyword to make Evernote synchronize
  • Added enHelp keyword

Version 4.5

  • Paste a note directly to the topmost application (e.g. search a note, hold fn key and hit Return key to paste the note content into the editor)

Hotkeys to search

Version 4.0

  • New note with tags supported: just add # followed by the tags (comma separated) at the end e.g. My Note#Mytag1,Mytag2,Mytag3

Version 3.5

  • search result will display up to 20 notes (total found in “Show in Evernote” subtitle) making the workflow hopefully usuable for huge collection of notes
  • new ent keyword to search directly only in notes title
  • improved fallback search: the search result will be displayed in Alfred instead of Evernote itself

Version 3.4

  • Support for check and update using Alleyoop workflow

Version 3.2

  • 3.2 Add note from a file (Alfred File Action and File from Finder)

Download

 

Beta (next workflow version but still in progress)

 

  • keyword ennew: hold command key to create a new note and open it right after
  • keyword enscan: it will start OSX Image Capture, wait for it to get ready (it usually scans a preview) and then click the Scan button (no matter what language) automatically*
  • keyword en: it is possible to preview (SHIFT key) the note in Alfred window; the preview is in HTML which shows all note instead of a small screenshot of it

* To use scanning feature please check Enable Access for Assistive Devices in the Accessibility in System Preferences

* Don’t forget to set Image Capture to work with Evernote. See a good tutorial here. In resume, drag Evernote.app (from Applications folder) into “Scan To” pop up control of Image Capture window.

 

Download Evernote 6.5 beta now

 

 

PS: post wrote in Byword and converted using Markdown to BBCode workflow


Edited by Carlos-Sz, 17 May 2013 - 08:21 PM.

  • Pedro Lobo, drking, Florian and 13 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
  • 6 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

    Advanced Member

  • Member
  • PipPipPip
  • 393 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
  • 6 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

    Advanced Member

  • Member
  • PipPipPip
  • 393 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

    Advanced Member

  • Member
  • PipPipPip
  • 393 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
  • 3 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
  • 118 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.8.3 | Safari 6.0.3


#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

    Advanced Member

  • Member
  • PipPipPip
  • 393 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
  • 6 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

    Advanced Member

  • Member
  • PipPipPip
  • 393 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
  • 7 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

    Advanced Member

  • Member
  • PipPipPip
  • 393 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

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users