Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!shelby!lindy!stud!puff From: puff@stud.uucp (Zorn Burciaga) Newsgroups: comp.sys.mac.hypercard Subject: Re: How do you lock/unlock a card from a script? Message-ID: <3979@lindy.Stanford.EDU> Date: 21 Jul 89 17:13:00 GMT References: <1175FONTENOA@RICE> Sender: news@lindy.Stanford.EDU (News Service) Reply-To: puff@stud.UUCP (Zorn Burciaga) Organization: Stanford University Medical School Lines: 19 In article <1175FONTENOA@RICE> FONTENOA@RICE.BITNET (Dwayne Jacques Fontenot) writes: >all user input information on the stack. Of course, if I could just find out >how to unlock a card from inside a script, I could make all the cards >undeletable during normal operation and just unlock them before deleting them. >That would seem to be the best solution... >Any hints? .... ideas?... references? > The way to do this is to set the card's "cantdelete" property to false by the following- set cantdelete of this card to false Cantdelete is just a boolean property for every card, and can be set inside a script. Zorn Burciaga Information Systems Group Stanford University, School of Medicine