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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to