Bug in TextEdit kAXTitleAttribute value?
Bug in TextEdit kAXTitleAttribute value?
- Subject: Bug in TextEdit kAXTitleAttribute value?
- From: Bill Cheeseman <email@hidden>
- Date: Sat, 18 Jan 2003 10:42:28 -0500
The AXUIElementCopyAttributeValue function with kAXTitleAttribute on a
window element produces this result for a saved TextEdit document:
Testing \\u2014 /Users/cheeseb/Documents
The human readable title in the window's title bar is simply, of course,
"Testing.rtf".
Obviously, this problem doesn't occur with unsaved TextEdit documents,
because they don't have paths.
Shouldn't this be considered a bug in TextEdit? My understanding of
accessibility's AXTitle attribute is that it should always return the
human-readable title of an object. If I had wanted the path to the document,
I would have asked for the kAXDocumentAttribute value (if I remember
correctly).
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
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.