Re: Can't add substack

2020-01-17 Thread Mark Wieder via use-livecode
On 1/17/20 11:50 AM, Klaus major-k via use-livecode wrote: Hi Bob, Am 17.01.2020 um 20:47 schrieb Bob Sneidar via use-livecode : yes, but that would mean anyone who has added a datagrid to a stack wil not be able to make another stack it's mainStack! true. That can't be the expected

Re: IP Camera Image in Browser Widget

2020-01-17 Thread Tom Glod via use-livecode
Yeah...I ran into this problem years ago when trying ot do webchat in Browser widget. I'm not sure what the answer is, but its worth reaching out to the team to ask if the CEF can be built with a flag that enables this. Thanks. Tom On Fri, Jan 17, 2020 at 10:54 AM Roger Guay via use-livecode <

YAML Libraries

2020-01-17 Thread Sannyasin Brahmanathaswami via use-livecode
I am finding the constraints of JSON to be a bit, well, "constraining" , for use in small "data serializations". e.g. a list of 20 stories with various parameter, that you don't want to put in a database (for now, maybe later once the dBase design clarifies itself and the number of "stories"

Re: Can't add substack

2020-01-17 Thread Bob Sneidar via use-livecode
Also of note, as I just discovered to my chagrin, is that a substack cannot have it's own stackFiles. That means any behaviors in the independent stack have to be reassociated once it becomes a sub stack. So I think those who intend to create substacks need to take all this into account. The

Re: Can't add substack

2020-01-17 Thread Klaus major-k via use-livecode
Hi Bob, > Am 17.01.2020 um 20:40 schrieb Bob Sneidar via use-livecode > : > > Further, when I try this from the message box, I get: > > Message execution error: > Error description: Stack: can't set mainStack (has substacks?) > Hint: > I get the substacks of Time Calculator, and the onlt

Re: YAML Libraries

2020-01-17 Thread Sannyasin Brahmanathaswami via use-livecode
I found the handler ## Monte's YAMLToArray command constant kMultiLineModeNone = 0 constant kMultiLineModeLiteral = 1 constant kMultiLineModeFolded = 2 command YAMLToArray pYaml [snip] in the levure initialization behavior. I think that's it. There is no "ArrayToYaml" but that is not needed.

Re: Can't add substack

2020-01-17 Thread Bob Sneidar via use-livecode
Further, when I try this from the message box, I get: Message execution error: Error description: Stack: can't set mainStack (has substacks?) Hint: I get the substacks of Time Calculator, and the onlt substack it is using is it's own Data Grid Templates. Bob S > On Jan 17, 2020, at 11:37 ,

Re: Can't add substack

2020-01-17 Thread Klaus major-k via use-livecode
Hi Bob, > Am 17.01.2020 um 20:47 schrieb Bob Sneidar via use-livecode > : > > yes, but that would mean anyone who has added a datagrid to a stack wil not > be able to make another stack it's mainStack! true. > That can't be the expected behavior. It is for me. :-) But let the mothership

Can't add substack

2020-01-17 Thread Bob Sneidar via use-livecode
Hi all. I have 2 stacks open: Forms Generator and Time Calculator. I get the properties of stack Time Calculator and set the Main Stack property to Forms Generator. I save both stacks. I check the properties again, it didn't take. Ideas?? Bob S

Re: Can't add substack

2020-01-17 Thread Bob Sneidar via use-livecode
yes, but that would mean anyone who has added a datagrid to a stack wil not be able to make another stack it's mainStack! That can't be the expected behavior. Bob S > On Jan 17, 2020, at 11:45 , Klaus major-k via use-livecode > wrote: > > Hi Bob, > >> Am 17.01.2020 um 20:40 schrieb Bob

Re: Can't add substack

2020-01-17 Thread Bob Sneidar via use-livecode
Okay, I tricked it. I cut the datagrid, deleted the template when it asked, set the mainStack property, and pasted the datagrid. Still, how odd? If this is not happening to anyone else, it is possible that my customization to the datagrid library that allows for cascading behaviors might be

Re: Can't add substack

2020-01-17 Thread Paul Dupuis via use-livecode
On 1/17/2020 3:36 PM, Mark Wieder via use-livecode wrote: It has ever been thus. Substacks can't have substacks. It's an unfortunate feature of the architecture and would require some er... fixing... to change that. This is one enhancement - allowing nested stacks - that I would very much

Re: Can't add substack

2020-01-17 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > Further, when I try this from the message box, I get: > > Message execution error: > Error description: Stack: can't set mainStack (has substacks?) > Hint: > > I get the substacks of Time Calculator, and the onlt substack it is > using is it's own Data Grid Templates. Move

Re: IP Camera Image in Browser Widget

2020-01-17 Thread Eller, Roger via use-livecode
Hi Roger, I don't have a suggestion. Just wanted to say that I too would value such an option, especially in an Android app. My use-case is to mount an IP camera on an RC Lawnmower, and using VR goggles, control it form a first-person point-of-view; Essentially, simulating a riding mower

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 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: IP Camera Image in Browser Widget

2020-01-17 Thread Tom Glod via use-livecode
Roger, if in a normal browser the browser asks for permission to access the IP Cameras ...then the problem is that the LC Browser Widget is not asking for those permissions. I don't know the answer to that. If its not about the permission window, how are the IP cameras accessed normally outside

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

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

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 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 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 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: IP Camera Image in Browser Widget

2020-01-17 Thread Roger Guay via use-livecode
Hi Tom, I think you are correct about the permissions issue. Normally these cameras are accessed by their own dedicated iOS app. Roger, I love your remote lawnmower idea! Roger > On Jan 17, 2020, at 8:37 AM, Tom Glod via use-livecode > wrote: > > Roger, if in a normal browser the browser

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 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 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: 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