kAXTitleAttribute
kAXTitleAttribute
- Subject: kAXTitleAttribute
- From: Modesitt Software <email@hidden>
- Date: Mon, 19 Jan 2004 14:22:29 -0800
When I obtain a window title using AXUIElementCopyAttributeValue, in
OS 10.3 I get the window title, but in OS 10.2 I get the title followed
by a hyphen and then the window's file path. Is that the expected
results? The code I use is below.
CFTypeRef cfRef = nil;
::AXUIElementCopyAttributeValue( inElement, kAXTitleAttribute, &cfRef
);
CFStringRef theCFStr = (CFStringRef)cfRef;
Str255 theStr;
bool getStr = ::CFStringGetPascalString( theCFStr, theStr, 256,
::CFStringGetSystemEncoding() );
Thanks in advance,
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.