Re: Waiting for the train

2016-09-23 Thread Richmond
"as he found" Um; all I seem to do is FIND things . . . Richmond. On 23.09.2016 00:48, Dr. Hawkins wrote: On Thu, Sep 22, 2016 at 2:23 PM, Mike Bonner wrote: My preference is the send in time as shown by paul. I don't think that it's even a matter of "preference" for what Richmond is tryi

Re: Waiting for the train

2016-09-22 Thread Dr. Hawkins
On Thu, Sep 22, 2016 at 2:23 PM, Mike Bonner wrote: > My preference is the send in time as shown by paul. I don't think that it's even a matter of "preference" for what Richmond is trying to do: even though messages can fly about, being stopped on a line of code will block some parts of the in

Re: Waiting for the train

2016-09-22 Thread Mike Bonner
Yeah, if you want to use wait.. wait 18000 is blocking wait 18000 with messages is not blocking My preference is the send in time as shown by paul. On Thu, Sep 22, 2016 at 2:33 PM, Richmond wrote: > You Rock: > > http://forums.livecode.com/viewtopic.php?f=7&t=27986 > > Thanks so much. > > Richm

Re: Waiting for the train

2016-09-22 Thread Richmond
You Rock: http://forums.livecode.com/viewtopic.php?f=7&t=27986 Thanks so much. Richmond. On 22.09.2016 23:13, Paul Dupuis wrote: You probably want to restructure your handler, so that instead of a repeat loop, it calls itself using send in So something like: local KOUNT on startMyThing

Re: Waiting for the train

2016-09-22 Thread Paul Dupuis
You probably want to restructure your handler, so that instead of a repeat loop, it calls itself using send in So something like: local KOUNT on startMyThing put 1 into KOUNT send "doMyThing" to me end startMyThing on doMyThing add 1 to KOUNT if KOUNT <= 1003 then send "doMyThing" t

Re: Waiting for the train

2016-09-22 Thread Richmond
Well . . . that works as far as menu commands from the revMenubar stack go, but it still blocks mouseClicks on the revTools stack and keyboard commands . . . Richmond. On 22.09.2016 22:55, Richmond wrote: Thanks. Where? wait 18000 ticks with messages ? Richmond. On 22.09.2016 22:38, Mike

Re: Waiting for the train

2016-09-22 Thread Richmond
Thanks. Where? wait 18000 ticks with messages ? Richmond. On 22.09.2016 22:38, Mike Bonner wrote: add "with messages" On Thu, Sep 22, 2016 at 1:37 PM, Richmond wrote: I have a stack that sits around as a Palette with a script in it that repeats itself every 18000 ticks (that's 5 minutes

Re: Waiting for the train

2016-09-22 Thread Mike Bonner
add "with messages" On Thu, Sep 22, 2016 at 1:37 PM, Richmond wrote: > I have a stack that sits around as a Palette with a script in it that > repeats itself every 18000 ticks (that's 5 minutes to Thee and Me) with > a code like this: > > *put 1 into KOUNT** > **repeat until KOUNT = 1003* > /do

Waiting for the train

2016-09-22 Thread Richmond
I have a stack that sits around as a Palette with a script in it that repeats itself every 18000 ticks (that's 5 minutes to Thee and Me) with a code like this: *put 1 into KOUNT** **repeat until KOUNT = 1003* /do various jolly things/ *add 1 to KOUNT** **wait 18000 ticks** **end repeat* The "wai