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: Mon, 05 Mar 2007 05:00:41 -0500
- Thread-topic: Get list of Finder items in a window
on 2007-03-04 9:14 PM, Daniel Gobera at email@hidden wrote:
> Could you please give an example or point to the guide to do that?
> I have only been able to query the Finder itself for the selection,
> so it gives the selected items of only the front window. I need the
> selected items on all open windows, along with items on the desktop.
It appears that you may have to bring each window to the front and get the
Finder's selection on it, collecting the results in a list. And you'll
probably have to close all the windows to get the selection on the desktop,
then reopen the windows.
It's too bad the Finder's dictionary does not implement a 'selected'
property on each Finder item. Then you could 'get every Finder item of every
window whose selected is true', and it would be very fast. (That would still
leave out the desktop.)
Bill Cheeseman
_______________________________________________
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