AXUIElementCopyParameterizedAttributeValue(_:_:_:_:)
Returns the value of an accessibility object's parameterized attribute.
Declaration
func AXUIElementCopyParameterizedAttributeValue(_ element: AXUIElement, _ parameterizedAttribute: CFString, _ parameter: CFTypeRef, _ result: UnsafeMutablePointer<CFTypeRef?>) -> AXErrorParameters
- element:
The AXUIElementRef representing the accessibility object.
- parameterizedAttribute:
The parameterized attribute.
- parameter:
The parameter.
- result:
On return, the value of the parameterized attribute.
Return Value
If unsuccessful, AXUIElementCopyParameterizedAttributeValue may return one of the following error codes, among others:
kAXErrorAttributeUnsupportedorkAXErrorParameterizedAttributeUnsupportedThe specified AXUIElementRef does not support the specified parameterized attribute.
kAXErrorNoValueThe specified parameterized attribute does not have a value.
kAXErrorIllegalArgumentOne or more of the arguments is an illegal value.
kAXErrorInvalidUIElementThe AXUIElementRef is invalid.
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(_:_:_:)AXUIElementCopyActionNames(_:_:)AXUIElementCopyAttributeNames(_:_:)AXUIElementCopyAttributeValue(_:_:_:)AXUIElementCopyAttributeValues(_:_:_:_:_:)AXUIElementCopyElementAtPosition(_:_:_:_:)AXUIElementCopyMultipleAttributeValues(_:_:_:_:)AXUIElementCopyParameterizedAttributeNames(_:_:)AXUIElementCreateApplication(_:)AXUIElementCreateSystemWide()AXUIElementGetAttributeValueCount(_:_:_:)AXUIElementGetPid(_:_:)AXUIElementGetTypeID()AXUIElementIsAttributeSettable(_:_:_:)AXUIElementPerformAction(_:_:)AXUIElementSetAttributeValue(_:_:_:)AXUIElementSetMessagingTimeout(_:_:)