Sean, I considered that, since I have them set to cantDelete already, but I was too concerned that in cloning them, they would retain that property.
Thanks, Joe Lewis Wilkins Architect On Aug 4, 2011, at 11:18 PM, Shao Sean wrote: > You can always use the cantDelete property for the master form cards.. > > http://docs.runrev.com/Property/cantDelete > > > # only run this after setting the cantDelete property to TRUE on the cards > you want to keep > # every other card will be deleted, so exercise caution.. > > lock messages -- suppresses the deleteCard message > repeat for each line tCardID in the cardIDs of stack "yourStackNameHere" > try > delete card id tCardID of stack "yourStackNameHere" > catch tErr > end try > end repeat > unlock messages > > > The try statement allows you to run the delete command on the cards that have > the property set to true and not have the script stop to post an error saying > that the card cannot be deleted. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode