lock and unlock files from script? - Mac options

-hh hh at livecode.org
Tue Feb 9 19:26:29 EST 2016

From terminal/LC's shell() use:

lock with ..... $ chflags uchg <filename>
unlock with ... $ chflags nouchg <filename>

What is interesting in this connection: I got also a
"compile error" from LC's "do as applescript" using
a script that works from Applescript's Script Editor.

MacOS 10.11.3

More information about the use-livecode mailing list