• 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: Getting Tab Index and Window ID in Safari
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting Tab Index and Window ID in Safari


  • Subject: Re: Getting Tab Index and Window ID in Safari
  • From: "Nigel Garvey" <email@hidden>
  • Date: Mon, 22 May 2017 20:17:27 +0100

Christopher Stone wrote on Mon, 22 May 2017 13:57:25 -0500:

>Okay, how about this:
>
>tell application "Safari"
>    set winList to (windows whose visible is true) & (windows whose
>miniaturized is true)
>end tell

Hi Chris.

Or:

  tell application "Safari"
    set winList to windows whose visible is true or miniaturized is true
  end tell

And this form still seems to work with Safari:

  tell application "Safari"
    set winList to windows where it is visible or it is miniaturized
  end tell


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

  • Follow-Ups:
    • Re: Getting Tab Index and Window ID in Safari
      • From: Christopher Stone <email@hidden>
  • Prev by Date: Re: Getting Tab Index and Window ID in Safari
  • Next by Date: Re: Getting Tab Index and Window ID in Safari
  • Previous by thread: Re: Getting Tab Index and Window ID in Safari
  • Next by thread: Re: Getting Tab Index and Window ID in Safari
  • Index(es):
    • Date
    • Thread