On Wed, Jul 16, 2008 at 6:57 AM, Piero Avola <[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to