Common writable folders
J. Landman Gay
jacque at hyperactivesw.com
Thu Jan 18 16:26:58 EST 2007
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 | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list