I'm trying to combine 2 shell scripts and my knowledge of shell scripting (and how to combine it with AppleScript) is proving too minimal.

I can do this:

put  "chmod 777"&& tInnerPath into tShellCmd
put "do shell script" &&quote& tShellCmd &quote&& "with administrator privileges" into tCmd
do tCmd as applescript

What I want to do is piggyback a second script to chmod another file while making use of the previous admin privileges

(Otherwise I end up with a second dialog box asking the user to enter the password again)

Thanks,

Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web       http://elementarysoftware.com/
email     [EMAIL PROTECTED]
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to