Created
May 14, 2024 20:20
-
-
Save dudeofawesome/9b0c147d3f7cb6649682f5e1c427f121 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
delay 1 | |
set classNames to {} | |
tell application "System Events" | |
tell front window of (first application process whose frontmost is true) | |
repeat with uiElem in entire contents as list | |
set classNames to classNames & (class of uiElem as string) | |
end repeat | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment