Implementing One-Click Evernote Search in Alfred
·
1 min read
Recently, I’ve been thinking about how to implement Evernote search functionality in Alfred. Fortunately, someone in the community has already created a version, but it supports Alfred 3 and Evernote, so some improvements are needed. Of course, if you’re not satisfied with the functionality, you can customize and improve it yourself, but that’s not a big problem. Let’s get started.
Current Effect
Download link: Click here
Want to know how it’s done? Keep reading.
Script Modification
Replace two places in the scpt file:
- Replace
com.evernote.Evernote
withcom.yinxiang.Mac
- Replace
com.runningwithcrayons.Alfred-3
withcom.runningwithcrayons.Alfred
Viewing App Signatures
How do you get the signature information of the target app? Use the following command:
codesign -dv --verbose=4 /Applications/印象笔记.app
Final Thoughts
- Building on the work of predecessors, supporting Yinxiang Biji (Evernote China) was achieved with just 2 replacements, which is relatively simple
- Why can Alfred achieve Evernote search? The feasibility lies in the fact that Evernote itself has opened up some APIs and provides Apple Script support. For details, see Evernote Developer API
- Yinxiang Biji is Evernote’s localized product for the Chinese market, but the core functionality is still Evernote, so it’s also supported
References
- https://lloyar.github.io/2019/01/16/evernote-and-alfred.html
- https://www.alfredforum.com/topic/840-evernote-workflow-9-beta-4-alfred-4/