[futurebasic] Re: [FB] Shutdown OS X

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2008 : Group Archive : Group : All Groups

From: Brian Stevens <bstevens33@...>
Date: Thu, 3 Jul 2008 18:28:17 -0700
On Jul 3, 2008, at 6:04 PM, Brian Stevens wrote:

>
> On Jul 3, 2008, at 3:23 PM, Brian Heibert wrote:
>
>> How can I  make my application do the following in OS X
>>
>> either
>>
>> Shutdown
>> Restart
>
> One method is to send apple events to the Finder. This methods  
> provides all the correct notifications to other running apps.

BTW: Alain posted code ( with a warning of being lightly tested ) on  
January 25, 2008 showing how to send the appleevent.

Brian S.