lock and unlock files from script? - Mac options
Phil Davis
revdev at pdslabs.net
Tue Feb 9 19:36:44 EST 2016
Live and learn! I was unaware of 'chflags'. Thanks Hermann.
Phil
On 2/9/16 4:26 PM, [-hh] wrote:
> >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
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
--
Phil Davis
More information about the use-livecode
mailing list