Re: Relaunch Finder (without AppleScript)
Re: Relaunch Finder (without AppleScript)
- Subject: Re: Relaunch Finder (without AppleScript)
- From: "Shawn Erickson" <email@hidden>
- Date: Wed, 16 Jul 2008 07:28:15 -0700
On Wed, Jul 16, 2008 at 6:57 AM, Piero Avola <email@hidden> wrote:
> Hello,
> I need to relaunch the Finder with my App. I don't want to use any scripts
> therefore. How can I do this with the Cocoa framework?
You likely should use AppleScript to do this...
NSAppleScript* script = [[[NSAppleScript alloc] initWithSource:@"tell
application \"Finder\" quit"] autorelease];
[script executeAndReturnError:nil]
(typed in mail)
-Shawn
_______________________________________________
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