Re: strange problems with SEND: SOLVED

2020-01-17 Thread Klaus major-k via use-livecode
Hi all, DIY problems are the best, right? 8-) OK, everything works as advertized when you substitute the CORRECT variable for X in for "send... in X secs". I was adding "the seconds" which explains the resulting year 2070! :-D Sorry for the false alarm and thanks for the feedback and hints! I

Re: strange problems with SEND

2020-01-17 Thread Klaus major-k via use-livecode
Hi Mark, > Am 17.01.2020 um 18:31 schrieb Mark Waddingham via use-livecode > : > > On 2020-01-17 17:24, Klaus major-k via use-livecode wrote: >> ouch, sorry, TRUE! :-/ >> However the other message "onlinekursinfo" is also from me and I have >> no idea why it should be delivered on: >> Sunday,

Re: strange problems with SEND

2020-01-17 Thread Mark Waddingham via use-livecode
On 2020-01-17 17:24, Klaus major-k via use-livecode wrote: ouch, sorry, TRUE! :-/ However the other message "onlinekursinfo" is also from me and I have no idea why it should be delivered on: Sunday, February 2, 2070, I did not script that!? I think you did ... Accidentally... THAT script

Re: strange problems with SEND

2020-01-17 Thread Klaus major-k via use-livecode
Hi Matthias, > Am 17.01.2020 um 17:28 schrieb Matthias Rebbe via use-livecode > : > > Tested here with LC 9.51 and 9.6.0DP2 and both were successfull. yes, error on my side, THIS pending message is correct. It is another handler that I will have to check again. Thanks! Best Klaus -- Klaus

Re: strange problems with SEND

2020-01-17 Thread Klaus major-k via use-livecode
Hi Mark, > Am 17.01.2020 um 17:29 schrieb Mark Waddingham via use-livecode > : > > Double check your pending messages after the send - the line you quoted > doesn’t match the name of the handler in send... ouch, sorry, TRUE! :-/ However the other message "onlinekursinfo" is also from me and

Re: strange problems with SEND

2020-01-17 Thread Matthias Rebbe via use-livecode
Tested here with LC 9.51 and 9.6.0DP2 and both were successfull. I´ve extended your script, so it also checks/show the delivery time. on mouseup put the date into tDatum convert tDatum from date to dateitems add 1 to item 8 of tDatum put 8 into item 4 of tDatum ## dateitems: # 1. the year

Re: strange problems with SEND

2020-01-17 Thread Mark Waddingham via use-livecode
Double check your pending messages after the send - the line you quoted doesn’t match the name of the handler in send... Warmest Regards, Mark. Sent from my iPhone > On 17 Jan 2020, at 15:46, Klaus major-k via use-livecode > wrote: > > HI all, > > I want to execute a handler in the

Re: strange problems with SEND

2020-01-17 Thread Klaus major-k via use-livecode
Hi Bob, > Am 17.01.2020 um 17:21 schrieb Bob Sneidar via use-livecode > : > > This got me thinking, I've pondered a way to run scheduled tasks, and how I > would go about it. I think what I would do is have a faceless standalone that > once launched sent a command in time every second, or 5

Re: strange problems with SEND

2020-01-17 Thread Bob Sneidar via use-livecode
This got me thinking, I've pondered a way to run scheduled tasks, and how I would go about it. I think what I would do is have a faceless standalone that once launched sent a command in time every second, or 5 seconds or whatever, and the handler would then check a list or a database for tasks

Re: strange problems with SEND

2020-01-17 Thread Klaus major-k via use-livecode
Hi all, > Am 17.01.2020 um 16:58 schrieb Klaus major-k via use-livecode > : > > Just tested this in LC 5.02 and it worked as exspected! > The pendingmessages show 1579330812.096689 as "delivery" time > which resolves nicely to -> Saturday, January 18, 2020 > > Tested also in LC 9.05 and it

Re: strange problems with SEND

2020-01-17 Thread Klaus major-k via use-livecode
Just tested this in LC 5.02 and it worked as exspected! The pendingmessages show 1579330812.096689 as "delivery" time which resolves nicely to -> Saturday, January 18, 2020 Tested also in LC 9.05 and it works as exspected, too!? A new bug? :-/ > Am 17.01.2020 um 16:46 schrieb Klaus major-k via

Re: strange problems with SEND

2020-01-17 Thread Klaus major-k via use-livecode
Hi all, this is on LC 9.5.1 on macOS 10.14.6. > Am 17.01.2020 um 16:46 schrieb Klaus major-k via use-livecode > : > > HI all, > > I want to execute a handler in the future -> tomorrow at 8:00 AM > So I scripted: > ... > put the date into tDatum > convert tDatum from date to dateitems > add 1

strange problems with SEND

2020-01-17 Thread Klaus major-k via use-livecode
HI all, I want to execute a handler in the future -> tomorrow at 8:00 AM So I scripted: ... put the date into tDatum convert tDatum from date to dateitems add 1 to item 3 of tDatum put 8 into item 4 of tDatum ## dateitems: # 1. the year # 2. the month number # 3. the day of the