Re: kAXFilenameAttribute supported?
Re: kAXFilenameAttribute supported?
- Subject: Re: kAXFilenameAttribute supported?
- From: Mike Engber <email@hidden>
- Date: Thu, 22 Jan 2004 17:37:08 -0800
I am trying to obtain the file name, so now I have to use
kAXDocumentAttribute and parse the file name out of the file path name
(and hoping there are no "/" characters in the file name).
There are various utilities to help with this (dealing with escaped
characters, extracting the path, extracting the file name from the
path, ...). Look at NSURL.h and NSPathUtilities.h - or if you're
developing in Carbon there's CFURL.h.
Is there any reason why kAXFilenameAttribute returns
kAXErrorAttributeUnsupported? Or is it really not yet supported? I'm
using OS 10.3.
All attributes are not supported by all ui elements. I'm not sure which
(if any - it might be vestigial) support kAXFilenameAttribute - none of
the Cocoa widgets do.
-ME
_______________________________________________
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.