| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
_______________________________________________
On Jul 30, 2004, at 3:41 PM, Matt Jaffa wrote:
I was wondering if there was any command in Cocoa/Obj-C to restart the computer, so that my app can do that when they push a button.
You can do that with NSAppleScript and a script like "tell application \"System Events\" to restart". But unless your app installs a kernel extension that can't be dynamically loaded, why does it require a restart?
Nick Zitzmann
<http://www.chronosnet.com/>
| References: | |
| >Cocoa/Obj-C Restart Computer (From: Matt Jaffa <email@hidden>) | |
| >Re: Cocoa/Obj-C Restart Computer (From: Nick Zitzmann <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.