Thanks!

Works great, in the server I installed a timer on shutdown to call StartUpComputer, I can keep the computer on even when its off.

One question, though, regarding ignoreLackOfElectricity: is there a plug-in that can tell me if the plug is plugged in?

Gary

BTW, when is April 1st?
:-)


On May 21, 2006, at 10:37 PM, Eric M.Williams wrote:

I searched the archives for any thread about starting up the computer, but I could not even go through the first ten threads because my dialup connection died. Anyway, in the threads I could read, I did not find an answer to my question, that is:

is there any declare or shell command to start up the computer (Mac OS X, and Classic if ever possible)?

Declare Function StartUpComputer lib "CarbonLib" (turnOffExtensions as boolean, ignoreLackOfElectricity as boolean) as integer

If you call this function when the computer is off, it will turn on and begin the boot process. For troubleshooting, you can set 'turnOffExtensions' to true. Set 'ignoreLackOfElectricity' to true for an unconditional boot. :)

Eric M. Williams
Oxalyn Software
http://software.oxalyn.com/

AE Monitor
http://software.oxalyn.com/AEMonitor/

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to