hammerspoon2-docs
    Preparing search index...

    Function focusedElement

    • Fetch the focused UI element

      Returns HSAXElement | null

      An HSAXElement representing the focused UI element, or nil if none was found