You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, the only way I know of to do this involves a private API (specifically, _AXUIElementGetWindow to get the CGWindowID; then you can use CGWindowListCreate to get the windows in z-index order).
I'm not sure I want to expose any private/unsupported APIs through AXSwift. If I do, it would be just a bare binding around _AXUIElementGetWindow with properly documented disclaimers around how this may stop working. Feel free to submit a PR if you want this. Higher level functionality on top of that wouldn't go in AXSwift (but perhaps it could go in Swindler).
tmandry
changed the title
Question / Feature request
Ways to get z-index
Jun 13, 2019
Is there any way possible to get the z-index of each window? I can't find an attribute that seems to indicate z-index.
The text was updated successfully, but these errors were encountered: