ReadonlyelementThe element's description
The element's frame (position and size combined)
ReadonlyisWhether the element is enabled
Whether the element is focused
ReadonlyparentThe element's parent
ReadonlypidGet the process ID of the application that owns this element
The element's position on screen
ReadonlyroleThe element's role (e.g., "AXWindow", "AXButton")
The element's size
ReadonlysubroleThe element's subrole
ReadonlytitleThe element's title
ReadonlyvalueThe element's value
Get all available action names
An array of available action names
Get all available attribute names
An array of attribute names
Get the value of a specific attribute
The attribute name to fetch the value for
The requested value, or nil if none was found
Get a specific child by index
The index to fetch
An HSAXElement object, if a child exists at the given index
Check if an attribute is settable
An attribute name
True if the attribute is settable, otherwise False
Perform a specific action
The action to perform
True if the action succeeded, otherwise False
Set the value of a specific attribute
The attribute name to set
The value to set
True if the operation succeeded, otherwise False
Object representing an Accessibility element. You should not instantiate this directly, but rather, use the hs.ax methods to create these as required.