2014-09-25 2 views

ответ

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 

Вот как это выглядит и ссылка работала просто отлично ...

Evernote with URL

+0

Спасибо, это было всего опечатка на моей точке. У меня был html вместо href в html-тексте, который я добавлял. Моя первая строка должна быть '' 'установить myLink в" " & currentTabTitle & " "' '' – studgeek