Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!ucbvax!hplabs!hp-sde!hpcea!twakeman From: twakeman@hpcea.CE.HP.COM (Teriann Wakeman) Newsgroups: comp.sys.mac.hypercard Subject: Re: script help Message-ID: <6410018@hpcea.CE.HP.COM> Date: 27 Sep 88 21:17:16 GMT References: <6410017@hpcea.CE.HP.COM> Organization: HP Corporate Engineering - Palo Alto, CA Lines: 13 What I am doing with this script is showing an introductory card for people to read when the application is starting. At the end of about 8 seconds, Hypercard automatically goes to a different card. If during the 8 seconds, the user wants to get additional info, she can press at mouse which will take the user from the introduction card to an additional info card. A wait command shuts things down for a given amount of time. The script dosn't see the mousedown while waiting. To get around this I wrote an event loop that looks for a mousedown for about 8 seconds then if the event does not happen, goes to the central card of the application. The only problem I have for the event loop is the time it takes a Mac+ and a IIx to go through the loop x times. I want to make x a var whose value depends upon the type of CPU {& thus approx speed}. TeriAnn