和这个并无什么大的不同,只是想法不一样!
http://www.jianshu.com/p/21ba22862b87
直接上图和代码
tell application "Keyboard Maestro Engine"
set x to value of variable "dd"
tell application "Evernote"
set notebook1 to notebook "00.收集箱"
set mynotes to (get every note in notebook1 whose title is "单词")
if (count of mynotes) is equal to 1 then
set note1 to item 1 of mynotes
tell note1 to append text x
end if
end tell
end tell
使用时按下command+c和trigger即可!