Re: Mail: preview pane is visible
Re: Mail: preview pane is visible
- Subject: Re: Mail: preview pane is visible
- From: Axel Luttgens <email@hidden>
- Date: Sat, 24 Oct 2015 23:01:53 +0100
- X_v_e_cd: f1616ccb5f01d493e6e0e9d89f6b5ec5
- X_v_r_cd: c204e46fb7750448273e2a37a31f7b42
> Le 24 oct. 2015 à 13:15, 2551 <email@hidden> a écrit :
>
> 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:
>
> […]
>
> Result:
> error "Mail got an error: AppleEvent handler failed." number -10000
>
> (OS X 10.11.1)
Hello Phil,
Indeed, just running this one here (on 10.10.5):
tell application "Mail" to set preview pane is visible of first message viewer to true
raises the same error message and interestingly writes the following to system.log:
Mail[338]: An exception was thrown during execution of an NSScriptCommand...
Mail[338]: [<MessageViewer 0x7f9614077170> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key previewPaneVisible.
A bit as if a show/hide switch had been hastily adapted to an environment wherein the height of the preview pane has become the relevant parameter.
> Any thoughts on how to move the split view divider (without invoking Sys Events and GUI scripting) in Mail to hide/unhide previews?
Unfortunately no, since other properties of message viewers (especially the "visible messages" one) seem to be broken the same way. :-(
Axel
_______________________________________________
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