Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!apple!jdevoto From: jdevoto@Apple.COM (Jeanne A. E. DeVoto) Newsgroups: comp.sys.mac.hypercard Subject: Re: Setting the Mouse Location Message-ID: <36346@apple.Apple.COM> Date: 10 Nov 89 01:30:14 GMT References: <67@watserv1.waterloo.edu> Organization: Apple Computer Inc, Cupertino, CA Lines: 22 In article <67@watserv1.waterloo.edu> psych@watserv1.waterloo.edu (R.Crispin - Psychology) writes: >I would like to have a script position the mouse/cursor to a specific >part of the screen but I can't figure out how to do it. In general, it's not a good idea for a program to move the pointer; the user should always be in control of mouse movements. (See the Human Interface guidelines.) There is no way to do it in HyperTalk, although an XCMD might work. If you want to simulate the pointer moving around and clicking items, e.g. for a demo or tutorial stack, one way is to use a transparent button with an icon the shape of the cursor you want. Hide the real cursor, then show the button in the desired location and move it around by setting its location property. -- ====== jeanne a. e. devoto ======================================== jdevoto@apple.com | You may not distribute this article under a jdevoto@well.UUCP | compilation copyright without my permission. ___________________________________________________________________ Apple Computer and I are not authorized | CI$: 72411,165 to speak for each other. | AppleLink: SQA.TEST