Re: Shut down now
Re: Shut down now
- Subject: Re: Shut down now
- From: "John C. Welch" <email@hidden>
- Date: Tue, 03 May 2005 09:32:08 -0500
On 5/3/05 09:25, "Gnarlodious" <email@hidden> wrote:
>> how to make
>> my script shut down even if an application doesn't want to quit
>
> do shellscript "shutdown -h now" with administrator privileges
>
> You may need to enter a password, mine is disabled in shell so you may need
> to set that up first. Or someone else may know how to send the password with
> the command.
Store the password in the keychain, and use that along with the password for
administrator privileges.
john
--
"I think love is a snowmobile racing across the arctic tundra which suddenly
flips, pinning you underneath. At night, the ice-weasels come...."
Matt Groening
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden