• 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
Safari on macOS 10.12.4 – Window Issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Safari on macOS 10.12.4 – Window Issues


  • Subject: Safari on macOS 10.12.4 – Window Issues
  • From: Christopher Stone <email@hidden>
  • Date: Sat, 22 Apr 2017 22:16:54 -0500

Hey Folks,

I finally update to macOS 10.12.4 and am having to fix a variety of library handlers and scripts – in particular do-_javascript_ results where AppleScript automatically converted an array to an AppleScript list (until 10.12.4 that is).  I've worked around this by joining the array with a linefeed and returning the string.

Safari 10.1 (12603.1.30.0.34)

I see the following no longer pulls up invisible windows (and that's not a bad thing):

tell application "Safari"
    set winList to windows
end tell

But.  It doesn't see the Prefs window either, and that's just lame.

Open the prefs window, and run this:

tell application "Safari"
    set frontWinName to name of front window
end tell

And you get the name of the front document window.

tell application "System Events"
    tell application process "Safari"
        set winpropList to properties of windows
    end tell
end tell

This will find all the windows including a no-name one with a subrole of "AXUnknown"...

Would someone take a minute and confirm these for me?

TIA.

--
Best Regards,
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

  • Follow-Ups:
    • Re: Safari on macOS 10.12.4 – Window Issues
      • From: Shane Stanley <email@hidden>
    • Re: Safari on macOS 10.12.4 – Window Issues
      • From: Thomas Floeren <email@hidden>
  • Prev by Date: Re: Applescript & RTF & TextEdit...
  • Next by Date: Remote-user-list?
  • Previous by thread: Re: Undead script lives whenever I launch my newsreader
  • Next by thread: Re: Safari on macOS 10.12.4 – Window Issues
  • Index(es):
    • Date
    • Thread