How to set a files 'locked' property?
Jan Schenkel
janschenkel at yahoo.com
Wed Sep 25 00:35:01 EDT 2002
Hi Chipp,
Unfortunately it's not as simple as
set the lockText of file tFile to true
*grin*
What you can do, is let WinXP do it for you with
get shell("attrib" && tFile && "-R")
If you ever need to do it on a Mac, I'm sure someone
can tell you the equivalent piece of AppleScript to
execute...
Hope this helped,
Jan Schenkel.
"As we grow older, we grow both wiser and more foolish
at the same time" (De Rochefoucald)
--- Chipp Walters <chipp at chipp.com> wrote:
> I know there's been discussion here lately on how to
> find out if a file is
> locked in WinXP
>
> put the detailed files()
>
> but, how can you turn off the locked property for an
> existing file? Couldn't
> find it in the notes. Thanks for any help.
>
> -Chipp
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
More information about the use-livecode
mailing list