Created
June 7, 2015 10:19
-
-
Save pslobo/04c3fafd7dba7d93a76c to your computer and use it in GitHub Desktop.
Jump to Specific Mailbox in Mail.app
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
try | |
tell application "Mail" | |
activate | |
set selected mailboxes of message viewer 1 to {mailbox "App Testing" of account "iCloud"} | |
end tell | |
on error errmsg | |
return errmsg | |
end try |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment