Re: Timeout waiting for server process
Re: Timeout waiting for server process
- Subject: Re: Timeout waiting for server process
- From: Michael Grant <email@hidden>
- Date: Tue, 07 Jan 2003 17:08:21 -0600
On 1/7/03 4:11 AM, "John Stewart" <email@hidden> wrote:
>
--script
>
set pw to text returned of (display dialog "Enter your password:"
>
default answer "")
>
set somevar to do shell script "mynextunixcall" password pw with
>
administrator privileges
>
-- end script
Setting the password variable isn't actually necessary. Just
set somevar to do shell script "mynextunixcall" with administrator
privileges
will bring up the password dialog.
I've occasionally had problems setting variables to shell scripts in one
line. In those cases running the shell command in one line and setting the
variable to the result in the next line has worked.
Michael
--
"There's no question that the minute I got elected, the storm clouds on the
horizon were getting nearly directly overhead."
- George W. Bush, Washington, D.C., May 11, 2001
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.