Re: Classic spawning Cocoa process??
Re: Classic spawning Cocoa process??
- Subject: Re: Classic spawning Cocoa process??
- From: Eric Schlegel <email@hidden>
- Date: Wed, 28 Nov 2001 12:17:52 -0800
On Wednesday, November 28, 2001, at 11:19 AM, Ron Pagani / San
Francisco / San Jose, CA wrote:
Please forgive my ignorance of the OS X architecture;
Is it possible for a Classic app to fire a Cocoa process?
I would like to make a Carbon app that could be placed in Shutdown
items, which would fire a shutdown system call in OS X, theoretically
shutting down the system when Classic is shutdown.
Crazy talk? Simpler way?
Try putting an AppleScript in your shutdown folder that does this:
ignoring application responses
tell application "Finder"
shut down
end tell
end ignoring
I tested this running as a native X script; I haven't tried it as a
Classic script.
-eric