AppleScript help

Geoff Canyon gcanyon at inspiredlogic.com
Tue Apr 9 17:41:02 EDT 2002


>I can't get my OS X system to shut down the power to the Mac:
>
>Do "tell app " & quote & "Finder" & quote & " to shut down" as applescript
>
>It doesn't work, revolution itself cancels the shut down because it's too
>busy waiting for a result from AppleScript to do the quit!  Can I fire off
>AppleScripts without waiting for the response?
>
>Has anyone a better way to power off?  I get a message from my UPS that I
>have only ten minutes battery left and I want to cleanly shut down the
>system.

I haven't tried it from within Revolution, but you might try:

ignoring application responses
	tell application "Finder" to shut down
end ignoring
-- 

regards,

Geoff Canyon
gcanyon at inspiredlogic.com




More information about the use-livecode mailing list