On 1/18/07 1:46 PM, "J. Landman Gay" <[EMAIL PROTECTED]> wrote:
> Ken Ray wrote: > >> you needt to escape the backslash because AppleScript uses that >> for its own purposes. Try this: >> >> put "chmod 777 /Library/Application\\ Support/myfolder/" into tShellCmd >> put "do shell script" &"e& tShellCmd "e&& "with administrator >> privileges" into tCmd >> do tCmd as applescript >> put the result > > That seems to work too, good to know. But see my other note, I got it to > work without any backslash at all. The reason for this is that there are two layers of escaping needed. 1) Applescript uses the \ character to escape things in any string; and 2) the shell itself uses \ to escape things. _______________________________________________ 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
