• 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
Sending a list of path strings to the Finder via Scripting Bridge
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sending a list of path strings to the Finder via Scripting Bridge


  • Subject: Sending a list of path strings to the Finder via Scripting Bridge
  • From: Peter <email@hidden>
  • Date: Fri, 25 May 2012 08:56:42 +0200

Hi,

I'd like to reveal/select multiple items in the Finder.
NSWorkspace only handles single files as in

            [[NSWorkspace sharedWorkspace] selectFile:currentFilePath
                             inFileViewerRootedAtPath:currentFilePath];

I searched Google and tried to pick up every scrap of information on the Scripting Bridge but I could not find anything about sending a LIST of paths.

If all fails I'll have to convert the path strings to hfs paths and string-assemble a script to run using NSAppleScript in code - which feels clumsy.

Thank you for any pointers!

Peter
_______________________________________________

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: Sending a list of path strings to the Finder via Scripting Bridge
      • From: "Stephen J. Butler" <email@hidden>
    • Re: Sending a list of path strings to the Finder via Scripting Bridge
      • From: Shane Stanley <email@hidden>
    • Re: Sending a list of path strings to the Finder via Scripting Bridge
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: NSEvent and postEvent:atStart
  • Next by Date: Censoring pasted text
  • Previous by thread: Re: NSEvent and postEvent:atStart
  • Next by thread: Re: Sending a list of path strings to the Finder via Scripting Bridge
  • Index(es):
    • Date
    • Thread