Skip to content

Instantly share code, notes, and snippets.

@rashita rashita/gist:9150139
Last active Aug 29, 2015

Embed
What would you like to do?
あらかじめ検索条件を指定したEvernoteのノートのリストを表示し、選択したノートをニューウィンドウで開く。
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
You can’t perform that action at this time.