Cannot open "On My Mac" mailboxes
Cannot open "On My Mac" mailboxes
- Subject: Cannot open "On My Mac" mailboxes
- From: Tom Lyon <email@hidden>
- Date: Thu, 03 May 2012 23:24:41 -0400
Very new to Applescript. Here is a script that I have which offers a list of mailboxes "On My Mac". I'm stuck as to how to actually open the selected mailbox for viewing.
tell application "Mail" set folderList to {} set folderCount to count of mailboxes repeat with thisFolder from 1 to folderCount set end of folderList to (name of mailbox thisFolder) end repeat set selectedFolder to {choose from list folderList} -- code to open selectedFolder for viewing goes here end tells
I'm not sure the reference to the mailboxes is correct. Any pointers in the right direction would be much appreciated.
Tom |
_______________________________________________
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