Re: Mysterious OSX Mail scripting problem
Re: Mysterious OSX Mail scripting problem
- Subject: Re: Mysterious OSX Mail scripting problem
- From: David Crowe <email@hidden>
- Date: Thu, 31 May 2018 12:08:13 -0600
More information on the mysterious scripting problem with an OSX Mail mailbox.
For my scriptable accounts, something like this:
tell application "Mail"
every mailbox of account "CNP"
end tell
Produces a list, i.e.
{«class mbxp» "mail/drafts" of «class mact» "CNP", «class mbxp»
"mail/sent-mail" of «class mact» "CNP", «class mbxp» "mail/SPAM.incoming" of
«class mact» "CNP", «class mbxp» "mail/trash" of «class mact» "CNP", «class
mbxp» "Snooze" of «class mact» "CNP", «class mbxp» "Archive" of «class mact»
"CNP", «class mbxp» "INBOX" of «class mact» "CNP", «class mbxp» "Drafts" of
«class mact» "CNP", «class mbxp» "Sent Messages" of «class mact» "CNP", «class
mbxp» "Deleted Messages" of «class mact» "CNP", «class mbxp» "Junk" of «class
mact» "CNP”}
But doing the same thing with the troublesome mailbox produces:
{}
This is interesting because within the OSX Mail application the account
functions well and clearly has mailboxes.
- David Crowe
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________
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