Skip to content

Instantly share code, notes, and snippets.

@rashita
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rashita/9150139 to your computer and use it in GitHub Desktop.
Save rashita/9150139 to your computer and use it in GitHub Desktop.
あらかじめ検索条件を指定した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