• 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
Re: Zoom question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Help with terminal script
  • Next by Date: Re: Zoom question
  • Previous by thread: Re: Zoom question
  • Next by thread: Help with terminal script
  • Index(es):
    • Date
    • Thread