🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.amiga.tech
4 messages
4 total messages Started by GUTEST8 Mon, 03 Dec 1990 18:14
setting the mouse pointers position
#7176
Author: GUTEST8
Date: Mon, 03 Dec 1990 18:14
6 lines
701 bytes
Is there any way to set the mouse coordinates in a proper way ?
I'm trying to write a record/replay-ish program and need to
reset the mouse coordinates when starting up.

Ives Aerts: GUTEST8@BLEKUL11.BITNET  Multitasking: a MUST (not only
            GHGAEAB@BLEKUL11.BITNET   for schyzophrenics...)
Re: setting the mouse pointers position
#7179
Author: Peter Cherna
Date: Mon, 03 Dec 1990 20:33
21 lines
1431 bytes
In article <90337.181519GUTEST8@cc1.kuleuven.ac.be> GUTEST8@cc1.kuleuven.ac.be writes:
>Is there any way to set the mouse coordinates in a proper way ?
>I'm trying to write a record/replay-ish program and need to
>reset the mouse coordinates when starting up.

You can send a POINTERPOS input event.  It allows you to specify
mouse coordinates in 640 x 400 (640 x 512 PAL).  This is the
same as IBase->MouseX/Y.

2.0 has a NEWPOINTERPOS event which can accept a screen pointer,
allowing you to give mouse coordinates in screen resolution units.

>Ives Aerts: GUTEST8@BLEKUL11.BITNET  Multitasking: a MUST (not only
>            GHGAEAB@BLEKUL11.BITNET   for schyzophrenics...)

     Peter
--
     Peter Cherna, Software Engineer, Commodore-Amiga, Inc.
     {uunet|rutgers}!cbmvax!peter    peter@cbmvax.commodore.com
My opinions do not necessarily represent the opinions of my employer.
I have found a proof for Fermat's theorem, but there is no room in the .sig!
Re: setting the mouse pointers position
#7426
Author: Chris Dueker
Date: Wed, 12 Dec 1990 13:17
26 lines
1986 bytes
In article <90337.181519GUTEST8@cc1.kuleuven.ac.be>, GUTEST8@cc1.kuleuven.ac.be writes...
>Is there any way to set the mouse coordinates in a proper way ?
>I'm trying to write a record/replay-ish program and need to
>reset the mouse coordinates when starting up.
> 
>Ives Aerts: GUTEST8@BLEKUL11.BITNET  Multitasking: a MUST (not only
>            GHGAEAB@BLEKUL11.BITNET   for schyzophrenics...)

There is a program on one of the Fish disks called Record-Replay (I think).
'Fraid I don't remember which Fish disk offhand.  My first guess would be
in the upper 200's, but...

It actually records the mouse movements and menu selections (and keystrokes?)
of any program you ran.  It could then repeat those events for playback,
such as showing a demo.

When I get a chance, I'll check on that for you, and let you know the disk
number, the name (in case I mis-remembered) and if there was source, too.

Chris
------------------------------------------------------------------------
"Ah, Benson, you are so mercifully free of the ravages of intellegence!"
"Oh, thank you, Master!"             - from the movie, TIME BANDITS
------------------------------------------------------------------------
dueker@xenon.arc.nasa.gov        |   Chris Dueker (The Code Slinger)
duke@well.sf.ca.us               |   Mtn. View, CA  (Sillycon Valley!)
Re: setting the mouse pointers position
#7473
Author: Chris Dueker
Date: Fri, 14 Dec 1990 18:07
43 lines
2968 bytes
In article <1990Dec12.162246.25971@nas.nasa.gov>, dueker@xenon.arc.nasa.gov (Chris Dueker) writes...
>In article <90337.181519GUTEST8@cc1.kuleuven.ac.be>, GUTEST8@cc1.kuleuven.ac.be writes...
>>Is there any way to set the mouse coordinates in a proper way ?
>>I'm trying to write a record/replay-ish program and need to
>>reset the mouse coordinates when starting up.
>> 
>>Ives Aerts: GUTEST8@BLEKUL11.BITNET  Multitasking: a MUST (not only
>>            GHGAEAB@BLEKUL11.BITNET   for schyzophrenics...)
> 
>There is a program on one of the Fish disks called Record-Replay (I think).
>'Fraid I don't remember which Fish disk offhand.  My first guess would be
>in the upper 200's, but...
> 
>It actually records the mouse movements and menu selections (and keystrokes?)
>of any program you ran.  It could then repeat those events for playback,
>such as showing a demo.
> 
>When I get a chance, I'll check on that for you, and let you know the disk
>number, the name (in case I mis-remembered) and if there was source, too.
> 
Boy, did I misremember the Fish disk number!  It's on #105.  The paragraph
from FF105 for it follows:

Record-Replay    A program that records a sequence of mouse and keyboard
                 events as they occur and stores them in a file.  The file
                 can be played back to cause the same sequence of events to
                 occur again.  Very useful for creating demonstrations
                 of programs or documenting repeatable bugs.  This is
                 version 2.0, an update to the version on disk 95.
                 Shareware, binary only.
                 Author:  Alex Livshits and J-M Forgeas

The blurb on FF95 sez that the source is available from the authors.  But
they may have changed their minds since, since source is not mentioned
in the FF105 blurb.

Chris
------------------------------------------------------------------------
"Ah, Benson, you are so mercifully free of the ravages of intellegence!"
"Oh, thank you, Master!"             - from the movie, TIME BANDITS
------------------------------------------------------------------------
dueker@xenon.arc.nasa.gov        |   Chris Dueker (The Code Slinger)
duke@well.sf.ca.us               |   Mtn. View, CA  (Sillycon Valley!)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads