Re: kAXTitleAttribute
Re: kAXTitleAttribute
- Subject: Re: kAXTitleAttribute
- From: Guy Fullerton <email@hidden>
- Date: Mon, 19 Jan 2004 14:39:30 -0800
On 1/19/04 2:22 PM, "Modesitt Software" <email@hidden> wrote:
>
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.
Which application owns the window that your code is examining? What is
displayed as its title visually?
It doesn't seem like it would be expected unless the visual title also had
the 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.
_______________________________________________
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.