Programmatically adding to one big Finder selection ?
Programmatically adding to one big Finder selection ?
- Subject: Programmatically adding to one big Finder selection ?
- From: André Berg <email@hidden>
- Date: Wed, 01 Jul 2009 06:54:02 +0200
Hi,
I have an NSArray of NSString's representing valid POSIX paths.
How can I loop through that array and make one big selection of all the
items in one Finder window running in list-view mode?
I know about
[[NSWorkspace sharedWorkspace] selectFile:@"/some/path"
inFileViewerRootedAtPath:@""]
but it only let's me select one file at a time and it will spawn many
Finder windows during the loop, even if the frontmost Finder window is
in list view (aka NSOutlineView with expanded subfolders).
Thank you so much for reading my question!
Cheers,
André
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden