• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: scripting mail to select mailboxes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripting mail to select mailboxes


  • Subject: Re: scripting mail to select mailboxes
  • From: cricket <email@hidden>
  • Date: Thu, 13 Mar 2003 14:25:21 -0800

On Thursday, March 13, 2003, at 12:55 PM, David P. Baker wrote:

OK, that's strange. index of message viewer A seems to be giving the index of its associated window instead. You got me: illogical, Mr. Spock!

Nevertheless, my original problem is still problematic: I can't get a message viewer (however identified) to select any imap mailboxes.

I finally was able to identify the problem in this case and it's something we have already fixed internally. The problem is only with setting the selected mailboxes property on a message viewer IF you have only IMAP account AND no local mailboxes.

An icky workaround is to create a local mailbox, then it should work.

The issue with message viewer indicies was a conscious design decision that we will look at again. The reason it was done this way was so that running scripts wouldn't get tweaked by a user interacting with the UI. What we will probably do is add a unique identifier, so that you save a reference to a message viewer and target it later. If we wholesale change to the index of the message viewer referring to the window layer level, then there would be no way to keep a reference to the message viewer, which IMHO is worse than what we have now. So, we didn't pick the worst way to do it, but we didn't get around to implementing it the best way.

- cricket

----->
Software Entomologist  Mail for Mac OS X
http://www.apple.com/macosx/jaguar/mail.html
---------->
Thank you and goodbye!
_______________________________________________
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.

  • Follow-Ups:
    • Re: scripting mail to select mailboxes
      • From: "John C. Welch" <email@hidden>
    • Re: scripting mail to select mailboxes
      • From: "David P. Baker" <email@hidden>
References: 
 >Re: scripting mail to select mailboxes (From: "David P. Baker" <email@hidden>)

  • Prev by Date: linked images in Quark docs
  • Next by Date: Re: FileMaker Pro Script
  • Previous by thread: Re: scripting mail to select mailboxes
  • Next by thread: Re: scripting mail to select mailboxes
  • Index(es):
    • Date
    • Thread