• 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
Mail's mailbox list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mail's mailbox list


  • Subject: Mail's mailbox list
  • From: Luther Fuller <email@hidden>
  • Date: Mon, 13 Aug 2012 17:01:23 -0500

Mail's dictionary shows ...

message viewer n [inh. item] : Represents the object responsible for managing a viewer window
elements
contains messages.
properties
...
mailbox list visible boolean : Controls whether the list of mailboxes is visible or not
...

which indicates that mailbox list visible is not a read-only property.

However, this script fails to change the value of mailbox list visible.

tell application "Mail"
set frontViewer to (some message viewer whose index is 1)
mailbox list visible of frontViewer --> true or false
set mailbox list visible of frontViewer to true --> Mail got an error: AppleEvent handler failed.
end tell

I've tried variations on a theme of line 3, but it seems I cannot Show or Hide Mail's mailbox list via an AppleScript.

Does anyone know more about this?


 _______________________________________________
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

  • Follow-Ups:
    • Re: Mail's mailbox list
      • From: "koenig.yvan" <email@hidden>
    • Re: Mail's mailbox list
      • From: Axel Luttgens <email@hidden>
    • Re: Mail's mailbox list
      • From: Christopher Stone <email@hidden>
    • Re: Mail's mailbox list
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: machine name and user
  • Next by Date: Re: OS X 10.8 Security & Applescripts - "unidentified developer"
  • Previous by thread: Re: machine name and user
  • Next by thread: Re: Mail's mailbox list
  • Index(es):
    • Date
    • Thread