Re: scripting mail to select mailboxes
Re: scripting mail to select mailboxes
- Subject: Re: scripting mail to select mailboxes
- From: cricket <email@hidden>
- Date: Thu, 13 Mar 2003 13:34:35 -0800
On Thursday, March 13, 2003, at 1:16 PM, David P. Baker wrote:
OK. I'm running 10.2.4 and Mail 1.2.3 v551 (latest from Software
Update, AFAIK). Maybe the bug's been fixed (inadvertently) in later
builds. (By the way, why would anyone want in, out, and the others to
be part of message viewer? I don't understand -- aren't the message
viewers just views onto the underlying list of mailboxes, as reflected
in the fact that any message viewer will show the same list of
mailboxes in its drawer if displayed? If two message viewers are both
focused on the drafts mailbox, aren't they both focused on the
IDENTICAL mailbox, not separate objects?)
You can target actual mailboxes directly already, through the
application and acccount classes. The point of having some of these
properties on message viewer is so that you can target them on a per
message viewer basis. For example, you could ask for the selected
mailboxes or selected messages on a per message viewer basis. The 'in
mailbox' does not map directly to a physical mailbox. It's a meta
mailbox, incorporating all of your inboxes and is only available in the
context of a message viewer. In theory, you can imagine Mail moving in
a direction where 'in mailbox' in one viewer is NOT the same as 'in
mailbox' for the entire application. For example, you may set up one
viewer to show only your work-related accounts and one to show only
your home-related accounts.
My output from that statement is correct; it's a list of all mailboxes
on my IMAP server, including those in folders. It's of the form
{mailbox "foo" of account "email@hidden", mailbox "bar" of
account "email@hidden", ...} (I'm not listing the actual
mailboxes in this email.)
I've tested again and again, including checking the contents of the
list I'm setting the selected mailboxes to, and they're correct. Even
if I have more than one message viewer (which I don't), why would that
affect the fact that I'm trying to change this one? It's not like the
change is actually happening to another one that's hidden behind the
one I'm looking at. I could make a QT movie of myself testing this out
and send it to you...would that convince you that there's an actual
problem here?
You don't have to convince me that it's a problem. It's just not one
I'm able to reproduce here so that's why I'm asking for more details.
What I was getting at with message viewers was maybe one was minimized
in the Dock and only one was visible on the screen, so the change
you're expecting might not be in the message viewer you're expecting it
to appear in.
Seriously, maybe it's been fixed in a later build. When's the next
release date?
What you sent me works for me in 10.2.4, so I suspect something else is
wrong. If you could send me a screenshot of your mailbox hierarchy (all
expanded), that might be useful.
- cricket
----->
Software Entomologist Mail for Mac OS X
http://www.apple.com/macosx/jaguar/mail.html
---------->
Egypt was troubled by the horrible asp.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.