Sending a list of path strings to the Finder via Scripting Bridge
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