Re: [Pharo-users] Moving the HandMorph

2015-05-13 Thread Matthieu Lacaton
Hello again,

Just for the record, the EventRecorder source code allowed me to solve my
problem.
It is apparently not possible to move the main HandMorph but you can create
a new secondary one and move it wherever you want !

Thanks again,

Matthieu

2015-05-12 17:59 GMT+02:00 Matthieu Lacaton matthieu.laca...@gmail.com:

 Or maybe have a look at HandMorphForReplay in
 http://forum.world.st/ANN-EventRecorderMorph-Port-to-3-0-td4736258.html


 Oh I didn't know about that, I'll definitely have a look at it, it seems
 cool !

 Thanks,

 Matthieu

 2015-05-12 17:57 GMT+02:00 Matthieu Lacaton matthieu.laca...@gmail.com:

 Okay.
 That was 2 years ago so I was wondering if something had changed since
 then but apparently not.

 Thanks a lot,

 Matthieu

 2015-05-12 17:51 GMT+02:00 Nicolai Hess nicolaih...@web.de:



 2015-05-12 17:40 GMT+02:00 Matthieu Lacaton matthieu.laca...@gmail.com
 :

 Hello everybody,

 Is there a way to move the position of the cursor (the HandMorph) by
 passing commands to it ?


 Not that I know of. There was a primitive for setting the
 cursorposition, but that was removed:

 http://bugs.squeak.org/view.php?id=7756

 https://pharo.fogbugz.com/default.asp?10026

 http://forum.world.st/Changing-mouse-position-from-Pharo-td4676580.html




 I tried things like ActiveHand position: or ActiveHand moveToEvent:
 but nothing worked for me.

 Thanks,

 Matthieu







[Pharo-users] Moving the HandMorph

2015-05-12 Thread Torsten Bergmann
In Pharo 4.0 load EventRecorder. It is a complete reimplementation
of an old goodie together with tests.

Then check Tools - EventRecorder in the world menu

Bye
T.



[Pharo-users] Moving the HandMorph

2015-05-12 Thread Matthieu Lacaton
Hello everybody,

Is there a way to move the position of the cursor (the HandMorph) by
passing commands to it ?

I tried things like ActiveHand position: or ActiveHand moveToEvent: but
nothing worked for me.

Thanks,

Matthieu


Re: [Pharo-users] Moving the HandMorph

2015-05-12 Thread Nicolai Hess
2015-05-12 17:40 GMT+02:00 Matthieu Lacaton matthieu.laca...@gmail.com:

 Hello everybody,

 Is there a way to move the position of the cursor (the HandMorph) by
 passing commands to it ?


Not that I know of. There was a primitive for setting the cursorposition,
but that was removed:

http://bugs.squeak.org/view.php?id=7756

https://pharo.fogbugz.com/default.asp?10026

http://forum.world.st/Changing-mouse-position-from-Pharo-td4676580.html




 I tried things like ActiveHand position: or ActiveHand moveToEvent:
 but nothing worked for me.

 Thanks,

 Matthieu



Re: [Pharo-users] Moving the HandMorph

2015-05-12 Thread Ben Coman
A bit extreme, but you could open World  Tools  Process Browser and
notice Input Event Fetcher then put a self haltOnce in
InputEventFetchersignalEvent: and trace through.

Or maybe have a look at HandMorphForReplay in
http://forum.world.st/ANN-EventRecorderMorph-Port-to-3-0-td4736258.html
(disclaimer, I haven't got around to having a look at this myself yet)

cheers -ben

On Tue, May 12, 2015 at 11:40 PM, Matthieu Lacaton 
matthieu.laca...@gmail.com wrote:

 Hello everybody,

 Is there a way to move the position of the cursor (the HandMorph) by
 passing commands to it ?

 I tried things like ActiveHand position: or ActiveHand moveToEvent:
 but nothing worked for me.

 Thanks,

 Matthieu



Re: [Pharo-users] Moving the HandMorph

2015-05-12 Thread Matthieu Lacaton
Okay.
That was 2 years ago so I was wondering if something had changed since then
but apparently not.

Thanks a lot,

Matthieu

2015-05-12 17:51 GMT+02:00 Nicolai Hess nicolaih...@web.de:



 2015-05-12 17:40 GMT+02:00 Matthieu Lacaton matthieu.laca...@gmail.com:

 Hello everybody,

 Is there a way to move the position of the cursor (the HandMorph) by
 passing commands to it ?


 Not that I know of. There was a primitive for setting the cursorposition,
 but that was removed:

 http://bugs.squeak.org/view.php?id=7756

 https://pharo.fogbugz.com/default.asp?10026

 http://forum.world.st/Changing-mouse-position-from-Pharo-td4676580.html




 I tried things like ActiveHand position: or ActiveHand moveToEvent:
 but nothing worked for me.

 Thanks,

 Matthieu





Re: [Pharo-users] Moving the HandMorph

2015-05-12 Thread Matthieu Lacaton

 Or maybe have a look at HandMorphForReplay in
 http://forum.world.st/ANN-EventRecorderMorph-Port-to-3-0-td4736258.html


Oh I didn't know about that, I'll definitely have a look at it, it seems
cool !

Thanks,

Matthieu

2015-05-12 17:57 GMT+02:00 Matthieu Lacaton matthieu.laca...@gmail.com:

 Okay.
 That was 2 years ago so I was wondering if something had changed since
 then but apparently not.

 Thanks a lot,

 Matthieu

 2015-05-12 17:51 GMT+02:00 Nicolai Hess nicolaih...@web.de:



 2015-05-12 17:40 GMT+02:00 Matthieu Lacaton matthieu.laca...@gmail.com:

 Hello everybody,

 Is there a way to move the position of the cursor (the HandMorph) by
 passing commands to it ?


 Not that I know of. There was a primitive for setting the cursorposition,
 but that was removed:

 http://bugs.squeak.org/view.php?id=7756

 https://pharo.fogbugz.com/default.asp?10026

 http://forum.world.st/Changing-mouse-position-from-Pharo-td4676580.html




 I tried things like ActiveHand position: or ActiveHand moveToEvent:
 but nothing worked for me.

 Thanks,

 Matthieu