Created
November 5, 2012 08:59
-
-
Save rizumita/4016111 to your computer and use it in GitHub Desktop.
Mail.appで選択したメールのMailTagsによるキーワードとプロジェクトを取得するAppleScript
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 "Mail" | |
set selectedMails to the selection | |
using terms from application "MailTagsHelper" | |
set keyword to keywords of item 1 of selectedMails | |
set myproject to project of item 1 of selectedMails | |
end using terms from | |
display dialog keyword | |
display dialog myproject | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment