lock and unlock files from script? - Mac options
revdev at pdslabs.net
Wed Feb 10 01:36:44 CET 2016
Live and learn! I was unaware of 'chflags'. Thanks Hermann.
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:
More information about the use-livecode