2014-09-25 134 views
0

如何將附加的html錨點(可點擊鏈接)添加到Evernote筆記?以下給出的只是筆記中的文字。謝謝。如何將html錨點(鏈接)附加到evernote筆記

set myLink to "<a html=\"" & currentTabUrl & "\">" & currentTabTitle & "</a>" 
tell curnote to append html "<br/>" & myLink & return 

回答

1
我沒有任何問題

,只是追加爲htmltext。下面是代碼...

# 
# 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 

這裏是什麼樣子和鏈接的工作就好了... ...

Evernote with URL

+0

謝謝,這是我點一共有錯字。我在html文本中添加了html而不是href。我的第一行應該是'''將myLink設置爲「" & currentTabTitle & "」''' – studgeek 2014-09-25 20:22:46

相關問題