Re: Get list of Finder items in a window
Re: Get list of Finder items in a window
- Subject: Re: Get list of Finder items in a window
- From: Bill Cheeseman <email@hidden>
- Date: Sat, 03 Mar 2007 05:02:45 -0500
- Thread-topic: Get list of Finder items in a window
on 2007-03-03 2:11 AM, Daniel Gobera at email@hidden wrote:
> I need to get the list of Finder windows (that works). For each
> window I would like to get the list of items it contains. Is there a
> consistent way to do this? It seems like the path to follow depends
> on the configuration of each window (icon/list/columns view, with
> toolbar, with side bar, etc.), which makes this approach really
> fragile.
One of the key things to remember about the Accessibility API is that it is
intended to reflect the GUI. It is not written as a general-purpose API for
getting at the innards of applications. This is because its goal is to
enable disabled users to work with the computer as nearly as possible the
way non-disabled users do. Thus, when the GUI shows the icon view of a
window, that's what the Accessibility API will give you, and when the GUI
shows the list view, that's what the Accessibility API will give you. When
you use the Accessibility API to get at something other than the GUI of an
application, you have to accommodate these restrictions.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden