如何将一个html锚点(可点击链接)附加到Evernote笔记?以下只给出了说明中的文字。感谢。
set myLink to "<a html=\"" & currentTabUrl & "\">" & currentTabTitle & "</a>"
tell curnote to append html "<br/>" & myLink & return
答案 0 :(得分:1)
我没有遇到任何问题,只需追加html
而不是text
。这是代码......
#
# Based on https://dev.evernote.com/doc/articles/applescript.php
#
tell application "Evernote"
set notebook1 to notebook "AppleScriptNotebook1"
set mynotes to (get every note in notebook1 whose title is "Test")
if (count of mynotes) is equal to 1 then
set note1 to item 1 of mynotes
tell note1 to append html "<br>"
tell note1 to append html "<a href=\"https://google.com\">link text</a>"
end if
end tell
这是它的样子,链接工作得很好......