sims wrote:

You'll find more info on this at: http://developer.apple.com/technotes/tn2002/tn2065.html

Aha! Okay, I got it work. The above web page helped. Apparently applescript doesn't want you to escape spaces in shell commands even while it is using POSIX paths. And I was using the wrong quote marks.

This now works, and it is a one-liner:

do shell script "chmod 777 '/Library/Application Support/myFolder/'" with administrator privileges

I wish AppleScript worked like Revolution. Life would be so much easier.

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
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