lock and unlock files from script? - Mac options
revdev at pdslabs.net
Tue Feb 9 21:19:40 CET 2016
If I understand correctly, it sounds like you could use the 'chmod'
shell command to lock and unlock your files.
On 2/9/16 12:11 PM, stephen barncard wrote:
> Hi Gang,
> Barncard lurking here.
> I want to lock and unlock files from script on Mac. Currently on Livecode
> I know there are various lock modes - I just want the one that users can
> turn off and on using the 'get info' dialog.
> I tried cobbling an Applescript method but got an 'execution error'. I
> tried to modify the Applescript that opens folders.
> I'd be happy with an Applescript solution or something using the Shell.
> faster would be better.
> thanks for any help.
> Stephen Barncard - Sebastopol Ca. USA -
> 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