Re: Zoom question
Re: Zoom question
- Subject: Re: Zoom question
- From: "Nigel Garvey" <email@hidden>
- Date: Fri, 3 Nov 2017 09:05:08 +0000
Axel Luttgens wrote on Fri, 3 Nov 2017 09:14:48 +0100:
>> Le 2 nov. 2017 à 18:36, Robert Poland a écrit :
>>
>> In my continued search I found this; tell application "Finder" to set
ZZZ
>>to zoomed of window ofdesktop
>>
>> I It doesn’t work…
>
>Hello Robert,
>
>Unless I’m wrong, that "zoomed" property is related to the window’s
state
>related on option clicks on it’s green button at the upper left (simple
>clicks before the introduction of system-wide full screen capabilities).
And it so happens that 'window of desktop' refers to _the_ desktop, not
to a Finder window associated with the Desktop folder. To get the zoomed
state of the latter (which must be open at the time), you need some
variant of:
tell application "Finder" to set ZZZ to zoomed of window of (desktop as alias)
Or:
tell application "Finder" to set ZZZ to zoomed of window of folder "Desktop"
of home
NG
_______________________________________________
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