Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!uunet!bu.edu!m2c!umvlsi!dime!lee From: lee@quincy.cs.umass.edu (Peter &) Newsgroups: comp.sys.mac.hypercard Subject: Re: marking only cards of a certain background Message-ID: Date: 19 Feb 91 19:57:09 GMT References: <2626@beguine.UUCP> <18147@imag.imag.fr> Sender: news@dime.cs.umass.edu Organization: The Software Development Lab at the University of Massachusetts at Amherst Lines: 51 In-reply-to: gourdol@imag.imag.fr's message of 17 Feb 91 15:56:10 GMT In article <18147@imag.imag.fr> gourdol@imag.imag.fr (Gourdol Arnaud) writes: Path: dime!umvlsi!m2c!crackers!samsung!uunet!mcsun!corton!imag!gourdol From: gourdol@imag.imag.fr (Gourdol Arnaud) Newsgroups: comp.sys.mac.hypercard Keywords: mark cards, limiting it to a background Date: 17 Feb 91 15:56:10 GMT References: <2626@beguine.UUCP> Reply-To: gourdol@imag.fr (Gourdol Arnaud) Organization: IMAG Institute, University of Grenoble, France Lines: 11 A solution is: mark cards where the short name of this bg is "TheLabels" There are probably other ways to do it. Arnaud. -- /======================//==========================================/ / Arnaud Gourdol. // On the Netland: Gourdol@imag.fr / / // Via AppleLink: Gourdol@imag.fr@INTERNET# / /======================//==========================================/ I don't remember the original post clearly, but if the goal is to mark cards that contain a pattern, but only when those cards are of a particular background, the following should be significantly faster for large stacks: set the dontsearch of background "uninteresting 1" to true set the dontsearch of bg "uninteresting 2" to true ... mark cards by finding "gleep" in fld "glorp" -- or whatever ... set the dontsearch of bg "uninteresting 2" to false set the dontsearch of bg "uninteresting 1" to false This takes advantage of the fact that "mark cards by finding" uses the very speedy "find" mechanism, while "mark cards where" seems to visit every card in the stack, regardless of the marking criteria. As always, your mileage may vary... -Peter -- |- Peter E. Lee, Staff Assistant -| | Software Development Lab at the University of Massachusetts at Amherst | | lee@cs.umass.edu or Fuligin@umass.bitnet or (413) 256-1329 | "When you expect whistles, it's flutes. When you expect flutes, it's whistles"