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

Re: Mail's mailbox list


  • Subject: Re: Mail's mailbox list
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 13 Aug 2012 20:57:55 -0700

On Aug 13, 2012, at 3:01 PM, Luther Fuller wrote:

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.

It works for me.

tell application "Mail"
set frontViewer to (some message viewer whose index is 1)
set TF to mailbox list visible of frontViewer
set mailbox list visible of frontViewer to not TF
end tell

Lion 10.7.4

-- Michelle

-- 
Will Rogers never met Glenn Beck



 _______________________________________________
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: Luther Fuller <email@hidden>
    • Re: Mail's mailbox list
      • From: Luther Fuller <email@hidden>
References: 
 >Mail's mailbox list (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: machine name and user
  • Next by Date: Re: applescript SAY command help needed
  • Previous by thread: Mail's mailbox list
  • Next by thread: Re: Mail's mailbox list
  • Index(es):
    • Date
    • Thread