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:
RJay Hansen <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Fri, 28 Apr 2006 10:15:36 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
Thanks to Mark and JBS for your answers.

I sent this message to the list on the 18th. Apparently, I need to 
change the email account I'm using for this list since it took 10 days 
for the message to get delivered.

I ended up asking the question on the AppleScript Studio list and found 
out, courtesy of Paul Berkowitz, that "user name" isn't a valid 
parameter to "do shell script" in 10.3.9, which is what I'm running. I 
removed that and the script runs fine.

RJay
--
wondering if this message will take several days to make it to the 
list...


On Apr 28, 2006, at 3:35 AM, J. Stewart wrote:

> 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