• 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: preview pane is visible
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mail: preview pane is visible


  • Subject: Mail: preview pane is visible
  • From: 2551 <email@hidden>
  • Date: Sat, 24 Oct 2015 19:15:25 +0700

My reading of the Mail dictionary is that this should be settable (it’s not marked as r/o)

preview pane is visible (boolean) : Controls whether the preview pane of the message viewer window is visible or not


But this fails both in Classic and non-Classic view:

tell application "Mail"
tell message viewer 0
set l to (preview pane is visible)
log l
if l is true then
set preview pane is visible to false --fails here
else
set preview pane is visible to true
end if


end tell
end tell


Result:

error "Mail got an error: AppleEvent handler failed." number -10000

(OS X 10.11.1)


Any thoughts on how to move the split view divider (without invoking Sys Events and GUI scripting) in Mail to hide/unhide previews?


Best



Phil
 _______________________________________________
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: preview pane is visible
      • From: Axel Luttgens <email@hidden>
    • Re: Mail: preview pane is visible
      • From: Christopher Stone <email@hidden>
  • Prev by Date: Re: Loss of formatting preferences
  • Next by Date: setting message to unread
  • Previous by thread: Re: Loss of formatting preferences
  • Next by thread: Re: Mail: preview pane is visible
  • Index(es):
    • Date
    • Thread