Re: Zoom question
Re: Zoom question
- Subject: Re: Zoom question
- From: Robert Poland <email@hidden>
- Date: Mon, 6 Nov 2017 10:05:12 -0700
- Z-usanet-msgid: XID926VkFRFN9552X33
> On Nov 6, 2017, at 9:55 AM, Axel Luttgens <email@hidden> wrote:
>
>
>> Le 3 nov. 2017 à 09:14, Axel Luttgens a écrit :
>>
>>
>>> 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
>> stemming from option clicks on its green button at the upper left (simple
>> clicks before the introduction of system-wide full screen capabilities).
>>
>> Starting with El Capitan (I think), using an UI inspector on a windows shows
>> a "Full Screen" property, and it seems indeed related to a window’s full
>> screen state. But I haven’t yet found a way to programmatically access it.
>
> A quick follow-up.
>
> For example, assuming there’s an open Finder window, its full screen status
> may be checked along those lines:
>
> tell application "System Events"
> tell application process "Finder"
> tell front window
> set ZZZ to value of attribute "AXFullScreen"
> end tell
> end tell
> end tell
>
> And note that attribute "AXFullScreen" is, very conveniently, settable.
>
> HTH,
> Axel
This cure(?) doesn’t seem to have anything to do with the state of the Main
screen. The Main screen being the container of ANY active apps, if any.
Robert Poland
Fort Collins, CO
_______________________________________________
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