On Thu, Aug 28, 2008 at 10:36 PM, Phil Faber <[EMAIL PROTECTED]> wrote: > Is there a simple way to quit all running applications? > > Basically I want to achieve the same result as the first stage of hitting > 'shut down' (closing all applications) without actually shutting down the > system. >
What do you mean by "all running applications"? There are GUI applications, background daemons owned by the user, applications of other users, system processes, etc. Also, what do you mean by "quit"? Do you want to force quit them, or tell them to gracefully quit? (During the shutdown process, applications have the opportunity to cancel the event). And depending on the type of application, the preferred way of getting them to quit changes. What are you trying to achieve here? I would suggest reading Apple's documentation of the shutdown process at: <http://developer.apple.com/DOCUMENTATION/MacOSX/Conceptual/BPSystemStartup/Articles/BootProcess.html> Phil _______________________________________________ Cocoa-dev mailing list ([email protected]) 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]
