script interruption (suite)

Yves COPPE yvescoppe at skynet.be
Wed Nov 17 16:25:38 EST 2010


Le 17 nov. 2010 à 21:26, Ian McKnight a écrit :

> Hi Yves
> 
> Try moving the lines
> 
> send secondTimer to me in 5 Sec
> -- record the message ID
> put the result&cr after myPendingMessages
> 
> out of the handler altogether, placing it immediately before the place where
> the main call to toggleexercice is made.
> 
> This should mean that a timer is started as soon as you call the main
> handler.
> If nothing is touched then the flag should be set to true after 5 secs which
> is what the mouseclick does anyway. In this case you probably won't need the
> clearMyPendingMessages handler but, maybe its overkill on my part, whenever
> I use any send command I always like to clear up aftermyself this way -0
> just to make sure.
> 
> Try that and see.
> 
> All the best
> 


Hi Ian


sorry, i've made a typo !
after correction, it works great ! yesssssssssss!!
many thanks !!!!


Greetings.

Yves COPPE
yvescoppe at skynet.be




More information about the Use-livecode mailing list