• 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: John Delacour <email@hidden>
  • Date: Wed, 12 Mar 2003 17:36:52 +0000
  • Mac-eudora-version: 6.0a11

At 10:56 am -0500 12/3/03, David P. Baker wrote:

I have my mail on a local imap server, with incoming mail filtered into several mailboxes via procmail. So therefore, my default view is to have several (currently 11) mailboxes simultaneously selected, so I see the union of all messages. First off, this makes mail really slow, but that's another topic. Second, I need a way to quickly select my set of mailboxes in a viewer window (if I select the Sent box for an instant, I have to get back to my set). Command-clicking my 11 boxes each time is a waste of time, but I don't see anything in Mail's dictionary that refers to the selected mailboxes -- only the selected messages.


I've asked twice about "focused messages" and got no reply from cricket. So here's a guaranteed way to make Mail crash by trying to do what you're asking.


tell application "Mail"
set ls to messages of mailbox "In" of account "Manningham"
set ls to ls & messages of mailbox "In" of account "demon"
make message viewer
set focused messages of message viewer 1 to ls
end tell

Every time I try to script anything useful in Mail I am confirmed in my opinion that the whole thing is an abomination. Why we're having to wait so long for an upgrade I can't imagine.

The beta of GyazMail <http://homepage.mac.com/gooichi/GyazMail/ >looks a far better program so far and seems to be the work of one man. How far it will develop I don't know, but it's worth watching. Scriptability at the moment is minimal.

JD
_______________________________________________
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"
      • From: Hudson Barton <email@hidden>
    • Re: scripting mail to select mailboxes
      • From: cricket <email@hidden>
References: 
 >scripting mail to select mailboxes (From: "David P. Baker" <email@hidden>)

  • Prev by Date: Re: Determining item number matching "x" in a list
  • Next by Date: Re: tell inside a tell
  • Previous by thread: scripting mail to select mailboxes
  • Next by thread: Re: scripting mail to select mailboxes
  • Index(es):
    • Date
    • Thread