Re: [applescript] zoomed attribute of tabbed fullscreen windows
Re: [applescript] zoomed attribute of tabbed fullscreen windows
- Subject: Re: [applescript] zoomed attribute of tabbed fullscreen windows
- From: 2551phil <email@hidden>
- Date: Sat, 14 Oct 2017 22:08:47 +0700
> On 14 Oct 2017, at 18:35, Shane Stanley <email@hidden> wrote:
>
> as far as I can see, in full screen mode the front window has to be full
> screen
That doesn’t seem to be true here.
Open two terminal windows; put one in full screen, make the other focused, then
run your script:
tell application "Terminal" to set fullScreen to item 2 of (get position of
window 1) = 0
that returns false here (a 10.11.6 machine, but I’d wager it’s the same on my
10.12.6 mac too), as I’d expect as the front window isn’t full screen.
Unless I’m misunderstanding the original question, I thought we wanted to know
if _any_ window was in full screen mode, not the front window only? In that
case, it looks like looping over the windows is necessary.
Best
Phil
@sqwarq
_______________________________________________
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