Failed attempt to select a particular mailbox in Mail.app
Failed attempt to select a particular mailbox in Mail.app
- Subject: Failed attempt to select a particular mailbox in Mail.app
- From: Jim Krenz <email@hidden>
- Date: Thu, 28 May 2009 13:57:05 -0700
Hello all,
In my continuing attempts to learn AppleScript, I am working on a simple script that will go to/select a particular mailbox in Mail.app. Thus far, I have been hitting my head against the wall. Here is where I am at (which returns a error - AppleEvent handler failed):
tell application "Mail" set message viewer 1 to {mailbox "INBOX" of account "JK@org"} end tell
I'm sure I am missing something simple, due to my lack of knowledge/experience. Is set what I want to use, or am I completely off base?
Any pointers or suggestions are appreciated.
Jim |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden