Path: utzoo!attcan!uunet!wuarchive!sdd.hp.com!elroy.jpl.nasa.gov!peregrine!sceard!ncr-sd!blkhole.resun.com!magimi.meta.com!al From: al@magimi.meta.com (Al Egan) Newsgroups: comp.sys.mac.hypercard Subject: Re: Same-background NEXT/PREV buttons Message-ID: <01010049.jatdzp@magimi.meta.com> Date: 1 Mar 91 07:10:21 GMT Reply-To: al@magimi.meta.com Organization: Metalogic, S.a r.l & Egan Systems Lines: 21 X-Mailer: uAccess - Mac Release: 1.0.4 In article <8647.27cab58f@jetson.uh.edu>, inde5py@jetson.uh.edu writes: > > Wanted: > > ...I need the buttons to go to the next or previous card with the same bg... on mouseUp go next cd in this bg end mouseUp > ...Also, is there a way to disable users from using command- 1,2,3,4... on doMenu x if x = "First" or x = "Last" or x = "Next" or x = "Prev" then answer "Please use the buttons" -- the back door, you must hold cmd & option while clicking OK if the commandKey = down and the optionKey = down then pass doMenu else pass doMenu end doMenu This script can be placed in the card, background, stack, or home stack script, depending on how global you would like the constraint to be. __ Alan Egan Egan Systems Grosse Pointe Shores Metalogic S.a r.l. Michigan, U.S.A.