Re: Zoom question
Re: Zoom question
- Subject: Re: Zoom question
- From: Axel Luttgens <email@hidden>
- Date: Mon, 6 Nov 2017 17:55:41 +0100
- Ironport-phdr: 9a23:+WY2cRH+lDqLZ5lQbjIhQZ1GYnF86YWxBRYc798ds5kLTJ7zps+wAkXT6L1XgUPTWs2DsrQf2rqQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbQhFgDmwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VDK/5KlpVRDokj8KOCI2/2/KisJ/jqxVoAiuqRJ8zY7afoabOeFifqPEeNMWWWpBUtpTWiFHH4iyb5EPD+0EPetAs4T8qEUBrR+jDgeqGePv1iNIhnDo0q08yOQqDAbL0xYvHt0QtHTYttH1NLoOUeCpw6nH0zPDb+hN1Dfm64jJchYhru+QXb5qasXe11AiGgXYhVuTsYzoJz2Y2+YXv2SG7OdtVfijhmokpg1rvzSixtsgh4/UjYwP0F/E7z92wIMtKN29T050fMCrHYNLtyGfK4t2WsQiQ3x0uCoiyr0Jp5q7fC8SxZsj2hLSaeKLf5KW7h7/TuqdPCt0iGh7dL25nxqy8E6gxfPgVsSs3ltHrDBJnsTPu30NzRDe7suKRuFg8kqhxTqDzwXT5ftFIUAwm6rbMZkhwrsom5UJvkXMACv2lF/yjK+LakUk5ueo5PrhYrX9vZKcLIx0iwH4MqswhsyzG/83PRYWU2iB5eu8zKHj/VH+QLhSlPI2irHZsJTEKsQAuqG5GQ5V0p4/6xqmEjemy8oXnWMcLF9efBKHjpPpO03VIPziF/i/m0yskDN1yPzcIrLhBZDNfTD/l+LoZqs1v0dE0A4+1ttF5opIT6waLejockvwr8DDSBYhKwi5he3gDYMu7I4GXXOzBfqQK76a5VaQ/uYiOOKWZZcJ/SvmJuI+z/rvlmMi31YFZa2km5AQbSbrMO5hJhCwcXfoyvMcDXsFswwlBLjjmFCGFzpOe2q9UqQnzio4GYSrEcHJS9b+0/S6wC6nE8gONSh9AVeWHCKweg==
> 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
_______________________________________________
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