• 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: do shell script and passwords
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: do shell script and passwords


  • Subject: Re: do shell script and passwords
  • From: John W Baxter <email@hidden>
  • Date: Mon, 10 Jun 2002 21:23:42 -0700

At 16:20 +0100 6/10/2002, Alex Robinson wrote:
>The real question is why the Applescript compiler allows the line to get
>through and what it thinks "administrator privileges yes password
>AdminPass" actually means seeing that it just gets ignored at runtime.
>_______________________________________________

For the most part (boolean parameters being one of the major exceptions),
AppleScript has no idea what the meaning is of something it compiles that
anything other than AppleScript is going to execute, and it doesn't care
whether what you string together makes sense to the thing which will be
called.

It's perfectly happy to compile such nonsense as
do shell script "ls" administrator privileges Monday

--John

--
John Baxter Port Ludlow, WA USA
AppleScript error: Can't get middle false of. (-1728)
_______________________________________________
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.

References: 
 >Re: do shell script and passwords (From: garrett <email@hidden>)
 >Re: do shell script and passwords (From: Alex Robinson <email@hidden>)

  • Prev by Date: Re: applescript and graphics programs
  • Next by Date: Re: do shell script and passwords
  • Previous by thread: Re: do shell script and passwords
  • Next by thread: Re: do shell script and passwords
  • Index(es):
    • Date
    • Thread