Search found 104 matches

by okk
Tue Mar 17, 2020 4:41 pm
Forum: Talking LiveCode
Topic: writing to a XML Node -> node is empty
Replies: 1
Views: 1454

Re: writing to a XML Node -> node is empty

Hi, I posted the same question on the runrev list and got a solution from Mark: on mouseUp local tInitialXML, tXmlId put "<?xml version='1.0' encoding='UTF-8'?><identity><name></name></identity>" into tInitialXML put revXMLCreateTree(tInitialXML,false,true,false) into tXmlId revXMLPutIntoNode tXmlId...
by okk
Sun Mar 01, 2020 1:32 pm
Forum: Talking LiveCode
Topic: set cursor to none --> cursor doesnt reappear
Replies: 3
Views: 419

set cursor to none --> cursor doesnt reappear

Hi, can someone verify this glitch: on mouseup set the cursor to none lock cursor wait 100 unlock cursor end mouseup The cursor would stay hidden after script execution, it shows up evetually if I move it over a text field, but not when the text of that field is locked. Lc 9.5.0 on MacOS 10.12.6. Th...
by okk
Wed Feb 26, 2020 9:26 pm
Forum: Multimedia
Topic: Player Object and AlwaysBuffer on = massive delays in script execution
Replies: 24
Views: 1248

Re: Player Object and AlwaysBuffer on = massive delays in script execution

Thanks Bernd and bogs for this great LC lesson and for your sample stacks. I havent really worked with multiple stacks before. I am optimistic that I can work with this. In the production version I will keep for now player and subtitle field separate, but the two stack method will make it in the nex...
by okk
Wed Feb 26, 2020 6:22 pm
Forum: Multimedia
Topic: Player Object and AlwaysBuffer on = massive delays in script execution
Replies: 24
Views: 1248

Re: Player Object and AlwaysBuffer on = massive delays in script execution

Hi bogs, thanks for you stack, that was a quick response! I understood how you move the two stacks in sync. What I did not understood from your sample stack ow you kept the "winshape" stack always on top of the "positioner" stack. I even made the positioner stack larger, but clicking in it did not m...
by okk
Wed Feb 26, 2020 12:23 pm
Forum: Talking LiveCode
Topic: writing to a XML Node -> node is empty
Replies: 1
Views: 1454

writing to a XML Node -> node is empty

Hi, I have created an xml tree with all the nodes. I want to overwrite the text in a node. I noticed that when I use an Umlaut the revXMLPutIntoNode command creates an empty node (example 1). Without an Umlaut it works (example 2). (1) revXMLPutIntoNode treeID,"speech/speechname","äiti" (2) revXMLPu...
by okk
Wed Feb 26, 2020 11:25 am
Forum: Talking LiveCode
Topic: text copied from LC generated PDF, WTF?
Replies: 25
Views: 1658

Re: text copied from LC generated PDF, WTF?

Hi, I can't help much with the original question posted by Klaus but wanted to chime in on the second thread that emerged here: I am a bit confused about the mailing-list and the forum running in parallel. Is there some logic when to post to the mailing list and when to the forum? I find the forum m...
by okk
Wed Feb 26, 2020 11:03 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to deal with database files for an app?
Replies: 32
Views: 1855

Re: How to deal with database files for an app?

FourthWorld wrote:
Mon Feb 24, 2020 5:22 pm
Other tips on possible sources of corruption from SQLite, FWIW:
https://www.sqlite.org/howtocorrupt.html
That was a scary read. Thanks for sharing ;)
by okk
Wed Feb 26, 2020 10:08 am
Forum: Multimedia
Topic: Player Object and AlwaysBuffer on = massive delays in script execution
Replies: 24
Views: 1248

Re: Player Object and AlwaysBuffer on = massive delays in script execution

Hi and thanks. So far so good. I think I can work with this approach, in our use case it might be an option, but it is nevertheless just a half solution. I can only set the blendlevel for the whole stack on top, so there won't be true transparency, like I can't have a text at blendlevel 0 and the st...
by okk
Tue Feb 25, 2020 10:58 pm
Forum: Multimedia
Topic: Player Object and AlwaysBuffer on = massive delays in script execution
Replies: 24
Views: 1248

Re: Player Object and AlwaysBuffer on = massive delays in script execution

Hi Bernd and Richard, thanks a lot for both of your thoughts and help. The browser widget might be a possible direction, but I am not very fluent with javascript and wouldnt know how to do this. Thanks for Richard for the explanation about alwaysbuffer. The tip with emebdding the text as track in th...
by okk
Tue Feb 25, 2020 4:13 pm
Forum: Multimedia
Topic: Player Object and AlwaysBuffer on = massive delays in script execution
Replies: 24
Views: 1248

Re: Player Object and AlwaysBuffer on = massive delays in script execution

Hi Bernd, thanks a lot for your test stack. I can confirm that call-backs work better than the "gameloop" approach. Nevertheless the best I could achieve with a Full HD movie was about 200 milliseconds, comparing to about 5 fps. Still the execution time of your "BOING" script varied considerably, I ...
by okk
Mon Feb 24, 2020 5:47 pm
Forum: Multimedia
Topic: Player Object and AlwaysBuffer on = massive delays in script execution
Replies: 24
Views: 1248

Re: Player Object and AlwaysBuffer on = massive delays in script execution

Hi Richard, I guess VLC could be a start. I tried to overlay a subtitle file with 20 captions that last 50 ms each, it seems to be no problem for VLC to display. But as I mentioned in the second test, the playback even affects the execution of background scripts when nothing is printed on top of the...
by okk
Mon Feb 24, 2020 1:22 pm
Forum: Multimedia
Topic: Player Object and AlwaysBuffer on = massive delays in script execution
Replies: 24
Views: 1248

Re: Player Object and AlwaysBuffer on = massive delays in script execution

Hi, just tried the same as above but with a FullHD video (1920x1080), the execution time of my script, that should be in total not much more than 2500 ms went up to a whopping 357646 milliseconds execution time, so about 6 minutes, or about 7 seconds per loop. The playback effectively blocks the exe...
by okk
Mon Feb 24, 2020 12:57 pm
Forum: Multimedia
Topic: Player Object and AlwaysBuffer on = massive delays in script execution
Replies: 24
Views: 1248

Re: Player Object and AlwaysBuffer on = massive delays in script execution

Hi and thanks for the replies. Thanks bogs for making all the effort to replicate the test on your machine. I tested the different suggestions that were put forward but only with minimal improvements. I went further and simplified the script. I do not print anything on top of the player during the l...
by okk
Sun Feb 23, 2020 1:24 pm
Forum: Multimedia
Topic: Player Object and AlwaysBuffer on = massive delays in script execution
Replies: 24
Views: 1248

Player Object and AlwaysBuffer on = massive delays in script execution

Hi, I was looking again at the player object in the latest LC version. There had been issues earlier on with AlwaysBuffer and the player object, I wanted to see if there are any improvements. I tested with LC 9.5. and also the latest 9.6. DP2 on MacOS 10.12.6. Here is what I did: I placed a player o...
by okk
Sun Feb 23, 2020 12:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to deal with database files for an app?
Replies: 32
Views: 1855

Re: How to deal with database files for an app?

Hi, what is the cause of the corrupted database file? Is it because of a hard disc failure? Or because of some bug with the app? I pesonally would not create separate DB files for specific tables or years. SQL should handle this kind of (low) complexity with ease. From my experience one has to be su...

Go to advanced search