• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Timeout waiting for server process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Timeout waiting for server process
      • From: John Stewart <email@hidden>
References: 
 >Re: Timeout waiting for server process (From: John Stewart <email@hidden>)

  • Prev by Date: Re: Forcing 'tell app' to use carbon, rather than classic app
  • Next by Date: Re: Quark 5 can't copy selection w/styles
  • Previous by thread: Re: Timeout waiting for server process
  • Next by thread: Re: Timeout waiting for server process
  • Index(es):
    • Date
    • Thread