Moving the HandMorph

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Moving the HandMorph

Matthieu
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
Reply | Threaded
Open this post in threaded view
|

Re: Moving the HandMorph

Nicolai Hess


2015-05-12 17:40 GMT+02:00 Matthieu Lacaton <[hidden email]>:
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

Reply | Threaded
Open this post in threaded view
|

Re: Moving the HandMorph

Ben Coman
In reply to this post by Matthieu
A bit extreme, but you could open World >> Tools >> Process Browser and notice "Input Event Fetcher" then put a "self haltOnce" in InputEventFetcher>>signalEvent: and trace through.

Or maybe have a look at HandMorphForReplay in 
(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 <[hidden email]> 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

Reply | Threaded
Open this post in threaded view
|

Re: Moving the HandMorph

Matthieu
In reply to this post by Nicolai Hess
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 <[hidden email]>:


2015-05-12 17:40 GMT+02:00 Matthieu Lacaton <[hidden email]>:
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


Reply | Threaded
Open this post in threaded view
|

Re: Moving the HandMorph

Matthieu
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 <[hidden email]>:
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 <[hidden email]>:


2015-05-12 17:40 GMT+02:00 Matthieu Lacaton <[hidden email]>:
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



Reply | Threaded
Open this post in threaded view
|

Re: Moving the HandMorph

Matthieu
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 <[hidden email]>:
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 <[hidden email]>:
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 <[hidden email]>:


2015-05-12 17:40 GMT+02:00 Matthieu Lacaton <[hidden email]>:
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