AXUIElementCopyActionNames(_:_:)
Returns a list of all the actions the specified accessibility object can perform.
Declaration
func AXUIElementCopyActionNames(_ element: AXUIElement, _ names: UnsafeMutablePointer<CFArray?>) -> AXErrorParameters
- element:
The AXUIElementRef representing the accessibility object.
- names:
On return, an array of actions the accessibility object can perform (empty if the accessibility object supports no actions).
Return Value
If unsuccessful, AXUIElementCopyActionNames may return one of the following error codes, among others:
kAXErrorIllegalArgumentOne or both of the arguments is an illegal value.
kAXErrorInvalidUIElementThe AXUIElementRef is invalid.
kAXErrorFailureThere was some sort of system memory failure.
kAXErrorCannotCompleteThe function cannot complete because messaging has failed in some way.
kAXErrorNotImplementedThe process does not fully support the accessibility API.
See Also
Miscellaneous
AXIsProcessTrusted()AXIsProcessTrustedWithOptions(_:)AXUIElementCopyActionDescription(_:_:_:)AXUIElementCopyAttributeNames(_:_:)AXUIElementCopyAttributeValue(_:_:_:)AXUIElementCopyAttributeValues(_:_:_:_:_:)AXUIElementCopyElementAtPosition(_:_:_:_:)AXUIElementCopyMultipleAttributeValues(_:_:_:_:)AXUIElementCopyParameterizedAttributeNames(_:_:)AXUIElementCopyParameterizedAttributeValue(_:_:_:_:)AXUIElementCreateApplication(_:)AXUIElementCreateSystemWide()AXUIElementGetAttributeValueCount(_:_:_:)AXUIElementGetPid(_:_:)AXUIElementGetTypeID()AXUIElementIsAttributeSettable(_:_:_:)AXUIElementPerformAction(_:_:)AXUIElementSetAttributeValue(_:_:_:)AXUIElementSetMessagingTimeout(_:_:)