Skip to content

hs.axuielement.systemWideElement().AXFocusedApplication is nil when focused UI element is a menu #3799

@avegetablechicken

Description

@avegetablechicken

if the focused ui element is a menu which belongs to an application with no focused window, hs.axuielement.systemWideElement().AXFocusedApplication is nil. Maybe the cause is that hs.axuielement.systemWideElement().AXFocusedUIElement always tries to return a UI element in a focused window.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions