快速修改印象笔记的源代码

1,首先双击打开一则笔记。
2,接着运行如下代码,用ScriptEditor

tell application "Evernote"
    
    set theNotes to selection
    set currentNote to item 1 of theNotes
    
    set noteTitle to display dialog "Edit HTML of \"" & title of currentNote & "\"" default answer "" & HTML content of currentNote
    
    try
        set HTML content of currentNote to text returned of noteTitle
    end try
    
end tell

效果如图

快速修改印象笔记的源代码_第1张图片
Paste_Image.png

之后修改源码就可以改变笔记效果了!
参考
比如加上这么一句


轻轻松松换背景颜色

http://www.jonathanlaliberte.com/2012/05/24/edit-evernote-enml-applescript/

你可能感兴趣的:(快速修改印象笔记的源代码)