比如利用Alfred创建印象笔记笔记本。
设置关键词触发
如图
on alfred_script(q)
tell application "Evernote"
create notebook q
end tell
end alfred_script
查询笔记
on alfred_script(q)
tell application "Evernote"
activate
open collection window with query string q
end tell
end alfred_script
打开特定的笔记本
tell application "Evernote"
activate
open collection window with query string "notebook:日记生活"
end tell