Re: Opening a folder in the Finder from my app
Re: Opening a folder in the Finder from my app
- Subject: Re: Opening a folder in the Finder from my app
- From: Stephan Cleaves <email@hidden>
- Date: Thu, 26 Oct 2006 11:13:36 -0400
I believe NSWorkspace selectFile:inFileViewerRootedAtPath: is what
you probably want.
This will open the specified file (or folder) in a Finder window.
Stephan
On Oct 26, 2006, at 11:03 AM, Michael Watson wrote:
NSAppleScript? It's kinda hackey, but if there are no other ways,
it does indeed work.
--
mikey
On 26 Oct, 2006, at 10:58, Adam Radestock wrote:
Hi everyone,
I've got an application that uses files stored in it's Application
Support Folder, in the Library, and want the user to be able to
open the folder in the Finder from within my application, so that
they can add files to it easily...
I've looked through the API References for NSFileManager and
LSOpenFSRef, and searched the list archives, but cannot find any
info on opening folders in the Finder from another application. Is
there any way to do this?
Thanks for your help,
Adam Radestock
Glass Monkey Design Co.
_______________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden