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.
|