• 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: zoomed attribute of tabbed fullscreen windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zoomed attribute of tabbed fullscreen windows


  • Subject: Re: zoomed attribute of tabbed fullscreen windows
  • From: 2551phil <email@hidden>
  • Date: Sat, 14 Oct 2017 13:45:34 +0700

> On 14 Oct 2017, at 09:38, Jean-Christophe Helary
> <email@hidden> wrote:
>
> Is there a way that does not involve using "bounds"… ?

We can use origin and position instead, so long as you have only one monitor,
this should work.

If you have an external display connected, you’ll have to test for the orig/pos
of that display as well.

set wps to {}
set fs to ""
set fsList to {}
set msg to ""
tell application "Terminal"
        repeat with i from 1 to count of its windows
                set this_win to item i of its windows
                if this_win's position is {0, 0} then
                        if this_win's origin is {0, 0} then
                                set fs to this_win's name
                                set end of fsList to fs
                        end if
                end if
                set end of wps to {this_win's origin, this_win's position}
        end repeat
end tell
repeat with i from 1 to count of fsList
        set msg to msg & fs & return
end repeat
display dialog msg with title "Terminal Full Screen Windows" buttons "OK"
default button "OK"



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

  • Follow-Ups:
    • Re: zoomed attribute of tabbed fullscreen windows
      • From: Jean-Christophe Helary <email@hidden>
References: 
 >zoomed attribute of tabbed fullscreen windows (From: Jean-Christophe Helary <email@hidden>)

  • Prev by Date: Re: zoomed attribute of tabbed fullscreen windows
  • Next by Date: Re: [applescript] zoomed attribute of tabbed fullscreen windows
  • Previous by thread: Re: zoomed attribute of tabbed fullscreen windows
  • Next by thread: Re: zoomed attribute of tabbed fullscreen windows
  • Index(es):
    • Date
    • Thread