The "Trigger by name" is a great feature. Many of them use the feature only to launch macros.
The main question is, once you start entering the keywords after the term - "evs", normally the macro will not come up. The solution is below.
I've included the most common 10k words in English a comment. So that whatever you enter after the word "evs" in the "Trigger by name" bar, the macro will come up. This will be as good as Alfred for searching.
The below is how I extract the parameters out of the trigger text.
This is how I look at how may parameters are passed.
This macro will demonstrate you.
- Getting stuff done with the parameters you pass in the trigger text
- Regex to extract nth word out of the strings
- Counting the words in the variable
- Demonstration of switch element
- Power of "Trigger by name" feature
Below is the macro.
Evernote Search EVS.kmmacros (205.0 KB)
The actions that you can change as per your wish is colored in green.
You can reuse this Macro for searching OmniFocus, Google, and much more. If the list of 10k common words in English is not enough for you, go ahead and download - https://github.com/dwyl/english-words (479k words)
For me, 10k words are more than enough as I can do searches like this with this macro. So entering entire words for searching is not required as both Keyboard Maestro's and Evernote's search engines are exceptional.
Let me know what you guys think.