• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Programmatically adding to one big Finder selection ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Programmatically adding to one big Finder selection ?
      • From: Dave Keck <email@hidden>
  • Prev by Date: Re: How Do I Statically Link to libcurl?
  • Next by Date: Re: Programmatically adding to one big Finder selection ?
  • Previous by thread: Crash on wake from sleep
  • Next by thread: Re: Programmatically adding to one big Finder selection ?
  • Index(es):
    • Date
    • Thread