MACSCRPT Archives

April 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"J. Stewart" <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Fri, 28 Apr 2006 04:35:58 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (18 lines)
On 4/18/06 at -0500 RJay Hansen said this

>do shell script "nvram boot-args=\"romndrv=1\"" user name "rjay" 
>password "" with administrator privileges
>
>Now when I check syntax, it complains about "user name" following the 
>closing quote of the command (a property can't go after this ""). Can 
>anyone help?

That compiles just fine OMM in 10.4.6. This form may work better for you though.

set scpt to "nvram boot-args=\"romndrv=1\""
do shell script scpt user name "rjay" password "" with administrator privileges

JBS
-- 
Isn't making a smoking section in a restaurant like making a peeing section in the swimming pool? - George Carlin

ATOM RSS1 RSS2