Re: do shell script
Re: do shell script
- Subject: Re: do shell script
- From: Michelle Steiner <email@hidden>
- Date: Tue, 15 Feb 2005 13:28:12 -0700
On Feb 15, 2005, at 12:51 PM, Andrew Oliver wrote:
You don't include it in the script, you pass it to 'do shell script':
Well, you pass it in the script, right?
do shell script "pmset -a ams 0" with administrator privileges password
"supersecret"
Thanks.
The password parameter is optional - do shell script will prompt for
the
password at runtime if it's not specified.
I got an error, running it in Script Editor.
-- Michelle
--
I love my country; I'm just ashamed (and afraid) of its current
administration.
_______________________________________________
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