Last active
August 29, 2015 13:56
-
-
Save rashita/9150139 to your computer and use it in GitHub Desktop.
あらかじめ検索条件を指定したEvernoteのノートのリストを表示し、選択したノートをニューウィンドウで開く。
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
property nb : "002 [プロジェクト]" | |
set notelist to {} | |
tell application "Evernote" | |
set foundNotes to find notes "notebook:\"" & nb & "\"" & " tag:\"▼project\"" | |
repeat with anote in foundNotes | |
set end of notelist to title of anote | |
end repeat | |
end tell | |
tell application "Finder" | |
set choisenote to (choose from list notelist) as string | |
end tell | |
tell application "Evernote" | |
repeat with bnote in foundNotes | |
if choisenote is title of bnote then | |
set choisenotes to bnote | |
set newWin to open note window with choisenotes | |
exit repeat | |
end if | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment