AXUIElementCopyAttributeValue useage
AXUIElementCopyAttributeValue useage
- Subject: AXUIElementCopyAttributeValue useage
- From: Modesitt Software <email@hidden>
- Date: Tue, 6 Jan 2004 21:41:47 -0800
In my code I use AXUIElementCopyAttributeValue on a window in this
manner:
CFTypeRef cfRef;
axErr = ::AXUIElementCopyAttributeValue( inElement, kAXModalAttribute,
&cfRef );
Then I get the pascal string from cfRef, and it looks like this:
"<CFBoolean 0xa0190b98 [0xa01900e0]>{value = false}"
It has the information I want, but how do I extract it? Do I have to
search the string for the sub-string "value=false" or "value=true" to
determine the value?
Or is there some function that tells me it's a Boolean value, and the
value is true (or false)?
thanks!
Bill
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.