• 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
Re: Opening a folder in the finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening a folder in the finder


  • Subject: Re: Opening a folder in the finder
  • From: Lorenzo Puleo <email@hidden>
  • Date: Tue, 16 Apr 2002 08:49:47 +0200

> I am hoping this to be pretty simple. I am using Objective-C, and am
> wondering if there is a simple call where I specify a path, and the folder
> will be opened in the finder.
>
> I have looked through a few of the Apple pages, but couldn't find anything
> (I am probably just looking in the wrong places...)
>
> I appreciate the help,
> Ben
>

Hi,
this works properly.

[[NSWorkspace sharedWorkspace] openFile: pathToOpen];


--
Lorenzo Puleo
mailto:email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Dynamically loading NIB files into sheets
  • Next by Date: end edit for NSTextView & switch to next key view
  • Previous by thread: Re: Opening a folder in the finder
  • Next by thread: Farewell
  • Index(es):
    • Date
    • Thread