Mars2ever

投稿日:

 

Mars2Ever 〜Macなブロガー必見!?MarsEditで開いた記事をEvernoteに送るAppleScript〜

 

https://highhigherhighest.com/mars2ever.html

 

 

tell application "Evernote" to activate
delay 1
tell application "MarsEdit" --Evernoteから情報を取得
    activate
    tell document 1
        set tit to get title
        set cont to get body
        set cont to cont & (get extended entry)
        set tagC to get tags
    end tell
end tell

set tagB to devText(tagC, ",")

tell application "Evernote" --Evernoteから情報を取得
    activate
    create note 1 with html cont title tit tags tagB
end tell

on devText(theText, aDelimiter)
    set tmp to AppleScript's text item delimiters
    set AppleScript's text item delimiters to aDelimiter
    set theList to every text item of theText
    set AppleScript's text item delimiters to tmp
    return theList
end devText

- スポンサードリンク -

- スポンサードリンク -

こちらの記事も一緒に読まれてます。