Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!sdd.hp.com!usc!rutgers!cbmvax!cbmehq!cbmger!peterk From: peterk@cbmger.UUCP (Peter Kittel GERMANY) Newsgroups: comp.sys.amiga Subject: Re: sending mouse message to Workbench - repost Message-ID: <250@cbmger.UUCP> Date: 2 Jul 90 08:33:23 GMT References: <23323@snow-white.udel.EDU> Reply-To: peterk@cbmger.UUCP (Peter Kittel GERMANY) Organization: Commodore Bueromaschinen GmbH, West Germany Lines: 16 In article <23323@snow-white.udel.EDU> ISCOVE%UTOROCI.bitnet@ugw.utcs.utoronto.ca writes: >I want to write a simple CLI program that would make Workbench >think I had just double-clicked on one of the disk icons. I >assume this could be done by sending an appropriate Intuimessage >to the Workbench process. Try the program MovePointer of Fish disk 87. This is not done by sending an Intuimessage but by invoking the Input device telling it an input event (like mouse move/click) has happened. But watch out, the click feature of the said program is not able to do a real doubleclick. To patch this I modified the provided source by replacing IECODE_NOBUTTON through SELECTUP. -- Best regards, Dr. Peter Kittel // E-Mail to Commodore Frankfurt, Germany \X/ rutgers!cbmvax!cbmger!peterk