Re: mailbox list visible
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