Re: kAXTitleAttribute
Re: kAXTitleAttribute
- Subject: Re: kAXTitleAttribute
- From: Modesitt Software <email@hidden>
- Date: Mon, 19 Jan 2004 15:46:41 -0800
On Jan 19, 2004, at 3:11 PM, Eric Schlegel wrote:
On Jan 19, 2004, at 2:22 PM, Modesitt Software 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. Is that the
expected results? The code I use is below.
I think that was a change in Cocoa for 10.3. You're only see this when
you ask for the title of Cocoa app windows, not Carbon, right?
I haven't made that test, but I suspect you're correct. So for OS
10.2, it appears I need to check for some string, probably " - ", which
seems to divide the window name from the path, and then remove the
path. Now I know what to expect.
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.