• 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: Christopher Stone <email@hidden>
  • Date: Mon, 22 May 2017 13:57:25 -0500

On 05/22/2017, at 04:59, Nigel Garvey <email@hidden> wrote:
So far I've not experienced this, but I'm running Ghostery and Adblock.
Can you point to a given URL that causes this repeatably?

Not one which causes it consistently...


Hey Nige,

Hmm...

I can't get this to happen on my machine, although Shane and someone else have confirmed they've seen the issue.

Visible is not a good filter, because minimized windows are NOT visible.

Okay, how about this:

tell application "Safari"
    set winList to (windows whose visible is true) & (windows whose miniaturized is true)
end tell

That looks like it'll cover the available bases.

--
Take Care,
Chris

 _______________________________________________
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

References: 
 >Re: Getting Tab Index and Window ID in Safari (From: "Nigel Garvey" <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