Path: utzoo!attcan!uunet!mcvax!hp4nl!uva!borton From: borton@uva.UUCP (Chris Borton) Newsgroups: comp.sys.mac.hypercard Subject: Re: Faster Button Message-ID: <547@uva.UUCP> Date: 30 Sep 88 15:34:47 GMT References: <70621@sun.uucp> <1482@pur-phy> Reply-To: borton@uva.UUCP (Chris Borton) Distribution: comp Organization: Faculteit Wiskunde & Informatica, Universiteit van Amsterdam Lines: 27 In article <1482@pur-phy> cca@pur-phy (Charles C. Allen) writes: > * The mouseUp handler is still present in every button that uses > this. Multiply by a couple of hundred cards with > approximately 15 card buttons of this "class" (no they can't > be background buttons). I want the script for those buttons > in ONE place, not 3000. It's not too hard to create a script that gets a script from another "source" button and puts it into all the buttons on x cards. Syntax is a bit fuzzy off the top of my head, but something like this: on mouseUp put the script of card button "source" into theSourceScript repeat with bgs = to repeat with buttonNo =