Read only
Chipp Walters
chipp at chipp.com
Fri Feb 27 22:19:53 EST 2004
WinXP shell script to unlock a file:
if the platform is "Win32" then
put the filename of the topstack into tfile
replace "/" with "\" in tfile
put "attrib"&& quote & tfile & quote && "-R" into DosCommand
set the hideConsoleWindows to true
put shell (DosCommand) into theError
end if
Also, if you use the altArchive plugin and a stack is set as read-only, you
can unlock it by pressing the alt-key and clicking the altArchive button.
(hidden trick)
--Chipp
>If you want to change it from within your Rev app,
> there's probably a shell command.
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
More information about the use-livecode
mailing list