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

Re: mailbox list visible


  • Subject: Re: mailbox list visible
  • From: kai <email@hidden>
  • Date: Sun, 22 Oct 2006 23:02:27 +0100


On 22 Oct 2006, at 22:37, Philip Aker wrote:

It doesn't work for me either. The property is "missing value".

Same here. (A missing value in this kind of situation can often be a good indication that something's broken.)


tell application "Mail" to activate
tell application "System Events" to tell application process "Mail"
	keystroke "m" using {command down, shift down}
end tell

That should toggle the mailbox list's visibility nicely. If the aim is to make sure the list is visible, then something like this should do it:


----------------
tell application "Mail"
	if not (exists message viewer 1) then return beep
	activate
	set index of message viewer 1 to 1
end tell

tell application "System Events" to tell menu item "Show Mailboxes" of menu "View" of menu bar item "View" of menu bar 1 of application process "Mail" to if exists then click
----------------


---
kai


_______________________________________________ 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/mailman//archives/applescript-users

This email sent to email@hidden
References: 
 >mailbox list visible (From: Luther Fuller <email@hidden>)
 >Re: mailbox list visible (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Mac dates ==> UNIX dates
  • Next by Date: Re: FileMaker 8 AppleScript question....
  • Previous by thread: Re: mailbox list visible
  • Next by thread: Re: mailbox list visible
  • Index(es):
    • Date
    • Thread