Path: utzoo!attcan!uunet!husc6!rutgers!rochester!uhura.cc.rochester.edu!aisl From: aisl@uhura.cc.rochester.edu (Lawrence Landry) Newsgroups: comp.sys.mac.hypercard Subject: Re: script help Message-ID: <93@ur-cc.UUCP> Date: 28 Sep 88 15:28:53 GMT References: <6410017@hpcea.CE.HP.COM> <6410018@hpcea.CE.HP.COM> Reply-To: aisl@uhura.cc.rochester.edu (Lawrence Landry) Organization: University of Rochester Lines: 29 In article <6410018@hpcea.CE.HP.COM> twakeman@hpcea.CE.HP.COM (Teriann Wakeman) writes: >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 You can use the ticks to time how long the current card is open. But don't try to do all of the work in one script. HyperCard has an idle message that is sent whenever nothing interesting is happening. Use this to test for the delay and use a mouseUp handler to go to the appropriate information card. Put the following scripts in the card of interest. They should work. on openStack global the ticks + 8 * 60 into closeTime -- the current time plus 8 seconds end openStack on idle global closeTime if the ticks > closeTime then go card "Different Card" end idle on mouseUp go card "More Information" end mouseUp Hope this helps. Larry Landry University of Rochester