Created
January 22, 2014 06:48
-
-
Save rashita/8554432 to your computer and use it in GitHub Desktop.
Evernoteで選択したノート(複数選択可)を、OmniOutlinerに追加。ノートタイトルがトピック名で、ノートリンク(Evernote)はノート(OmniOutliner)に格納される
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Evernote" | |
repeat with var_note in (get selection) -- 選択しているノート | |
set linename to (get title of var_note) | |
set linkname to (get note link of var_note) | |
my addrow(linename, linkname) | |
end repeat | |
end tell | |
on addrow(notename, notelink) | |
tell application "OmniOutliner" | |
set newtopic to (make with properties {topic:notename} new row at end of document 1) | |
set note of newtopic to notelink | |
end tell | |
end addrow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment