Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mitel!sce!cognos!neptune!writer From: writer@neptune.UUCP (Writer) Newsgroups: comp.sys.mac.hypercard Subject: Re: Setting the Mouse Location Message-ID: <701@neptune.UUCP> Date: 10 Nov 89 18:51:20 GMT References: <67@watserv1.waterloo.edu> Reply-To: writer@neptune.UUCP (Nigel Robinson) Organization: Cognos or Apple, depending Lines: 25 R.Crispin writes: >I would like to have a script position the mouse/cursor to a specific >part of the screen ... Although I agree with others that you shouldn't hold a user's hand, there is a valid application for making the pointer look like it is moving, as in a demonstration of 'how to use this stack'. I couldn't figure out a way to move the pointer, but I faked it... - make a button icon (or steal one...) that looks like the pointer (or hand or whatever) - attach it to a transparent button that is only just large enough to enclose the icon - move the button around the screen, using 'set the loc of button n ...' (I filled an invisible field with x,y coordinates and read them sequentially) - OH YEAH! Don't forget to hide the real mouse pointer by changing its icon to a single lit pixel. (Maybe you can have it completely blank, but I forget the details) Hope this helps... Nigel (waterloo co-op at large)