Re: Question about messages

2025-03-17 Thread Mike Kerner via use-livecode
also, i have a cron code library that works with levure, if you want something that's already written, and just runs: https://github.com/macMikey/mikeys-cron-library On Mon, Mar 17, 2025 at 9:42 AM jbv via use-livecode < use-livecode@lists.runrev.com> wrote: > Le 2025-03-17 09:27, Craig Newman vi

Re: Question about messages

2025-03-17 Thread Craig Newman via use-livecode
And for the umpteenth time, this is so much more palatable on the forum. Craig > On Mar 17, 2025, at 9:54 AM, Craig Newman via use-livecode > wrote: > > First off, the “with messages” is not proper syntax for “send”. It is for > “wait”. I removed that portion, but do not understand how you go

Re: Question about messages

2025-03-17 Thread Mike Kerner via use-livecode
@jbv - yes, the way you structured this is more foolproof. this is the way we set up our kiosks, because they are running in single-app mode, so if the timers stop, it will break the app. a couple of other things you can do, that might help you figure out what's going on: * put the rest of handler1

Re: Question about messages

2025-03-17 Thread Mike Kerner via use-livecode
i'm gonna have to see more to help. i have a mobe project that runs with multiple cron + timer jobs running at a time. it runs great. one of those timers modifies the appearance of a control, multiple times per second, while another polls the server, and another lets me display non-blocking modal "

Re: Question about messages

2025-03-17 Thread Craig Newman via use-livecode
First off, the “with messages” is not proper syntax for “send”. It is for “wait”. I removed that portion, but do not understand how you got past it. Make a field. This works: on opencard send "handler1" to me end opencard on handler1 send "handler2" to me in 200millisec end handler1 on

Re: Question about messages

2025-03-17 Thread jbv via use-livecode
Le 2025-03-17 10:01, Alex Tweedly via use-livecode a écrit : That sounds quite likely. If handler1 is running continuously, then other messages will not happen. I'd suggest putting various    wait for 0 seconds with messages inside the running loops of handler1, in order that pending messages

Re: Question about messages

2025-03-17 Thread Alex Tweedly via use-livecode
And some people would not see it On 17/03/2025 13:58, Craig Newman via use-livecode wrote: And for the umpteenth time, this is so much more palatable on the forum. Craig On Mar 17, 2025, at 9:54 AM, Craig Newman via use-livecode wrote: First off, the “with messages” is not proper synt

Re: Question about messages

2025-03-17 Thread Alex Tweedly via use-livecode
That sounds quite likely. If handler1 is running continuously, then other messages will not happen. I'd suggest putting various    wait for 0 seconds with messages inside the running loops of handler1, in order that pending messages can be dealt with. Alex. On 17/03/2025 13:42, jbv via use

Re: Question about messages

2025-03-17 Thread jbv via use-livecode
Le 2025-03-17 09:27, Craig Newman via use-livecode a écrit : If you place a simple one-liner in “more stuff”, like “put random(99) into msg” does that work? Another words, is it something in your own “more stuff” that is the problem? Craig, It stops working. It seems like messages aren't sen

Re: Question about messages

2025-03-17 Thread Craig Newman via use-livecode
If you place a simple one-liner in “more stuff”, like “put random(99) into msg” does that work? Another words, is it something in your own “more stuff” that is the problem? Craig > On Mar 17, 2025, at 9:00 AM, jbv via use-livecode > wrote: > > Hi list, > > Here's what I am trying to do : >

Question about messages

2025-03-17 Thread jbv via use-livecode
Hi list, Here's what I am trying to do : on opencard send "handler1" to me with messages end opencard on handler1 send "handler2" to me in 200 millisec -- more stuff end handler1 on handler2 if condition then send "handler2" to me in 200 millisec end if end handler2 The i