Search found 82 matches

by kolia
Sun Nov 29, 2015 12:13 am
Forum: Talking LiveCode
Topic: Using non blocking wait
Replies: 10
Views: 9179

Re: Using non blocking wait

Thanks Richard, I'll look at this one as well
by kolia
Sat Nov 28, 2015 4:20 pm
Forum: Talking LiveCode
Topic: Using non blocking wait
Replies: 10
Views: 9179

Re: Using non blocking wait

Hi Bernd
I really appreciate your valuable input. It explains another behavior I noticed without being able to understand it. This makes very clear how LC handles interruption if I may say so. I will check the stack you attached as soon as I can and I will post what I understood.
Thanks again
Nicolas
by kolia
Sat Nov 28, 2015 10:39 am
Forum: Talking LiveCode
Topic: Using non blocking wait
Replies: 10
Views: 9179

Re: Using non blocking wait

Thanks Xanos for your contribution. But this is not the idea. The idea is to have the onMouseUp handler resuming execution when the updateStatus reaches the end.
by kolia
Sat Nov 28, 2015 9:53 am
Forum: Talking LiveCode
Topic: Using non blocking wait
Replies: 10
Views: 9179

Re: Using non blocking wait

WaltBrown wrote:What is the difference between "setUpdateStatusRunning" and "setUpdateIsRunning"? You gave the code for the former but not the latter. Typo?
Walt
Yes sorry typo error the routine is setUpdateStatusRunning
by kolia
Thu Nov 26, 2015 10:48 am
Forum: Talking LiveCode
Topic: Using non blocking wait
Replies: 10
Views: 9179

Re: Using wait

Hi Craig, Thanks for getting involved in my question. I'll try to be as concise as possible. updateStatus runs every 10 sec. At the beginning of the routine it sets a flag (setUpdateStatusRunning true) and at the end it sets the same flag to false (setUpdateStatusRunning false) Whenever a user click...
by kolia
Sun Nov 22, 2015 7:55 pm
Forum: Talking LiveCode
Topic: Using non blocking wait
Replies: 10
Views: 9179

Using non blocking wait

Hello, I have a handler "updateStatus" that runs every 10 seconds. At the very beginning of this handler we have setUpdateIsRunning true and at the end setUpdateIsRunning false User may click on any interface control at any time. At the beginning of the control handler, we have to make sure that upd...
by kolia
Wed Oct 28, 2015 9:47 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Developing a Windows service
Replies: 3
Views: 3723

Re: Developing a Windows service

Hum, this is quite interesting. I do use other tools to write services as well (Microsoft VS 2010), but it is generally quite complex. So yeah, when LC 8 is officialy released I may give a try.
by kolia
Tue Oct 20, 2015 4:41 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Use of It in concurrent processes
Replies: 3
Views: 3300

Re: Use of It in concurrent processes

This indeed what I do. But I found a trick: I use the peerAddress of host:port command that returns "not an open socket" in case the device is free.
by kolia
Tue Oct 20, 2015 1:45 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Use of It in concurrent processes
Replies: 3
Views: 3300

Use of It in concurrent processes

Hello, I have a routine that reads a socket every x seconds. Each read statement put the result in the It variable. Beside that there are user interactions that may lead to using the read socket command as well. In that scenario I have a "chance" to get a value in the It variable that is not the one...
by kolia
Fri Oct 16, 2015 6:53 pm
Forum: iOS Deployment
Topic: Load URL callback does not return cached
Replies: 0
Views: 2645

Load URL callback does not return cached

Hello, I noticed that on iOS platform the callback urlProgress url, status, status returns "downloaded", whilst on Windows and MacOS platform it returns "cached". Dictionnary says one should expect "downloaded" value, whilst this lesson http://lessons.runrev.com/m/4071/l/7523-how-do-i-get-the-conten...
by kolia
Thu Oct 15, 2015 7:56 pm
Forum: iOS Deployment
Topic: Design interface for mobile platform
Replies: 17
Views: 11217

Re: Design interface for mobile platform

Hi Simon See fullScreenMode in the Dictionary. This is indeed a nice option. As a matter of fact this the option I use. I will certainly avoid to design a specific interface for each type of device unless it is really needed. However a phone and a tablet feature quite different form factors, and it ...
by kolia
Thu Oct 15, 2015 11:21 am
Forum: Windows
Topic: Put URL stopped working
Replies: 4
Views: 5012

Re: Put URL stopped working

A while ago, at least a month, I installed Fiddler and this did not bother LC. For some reason, it made LC failing just yesterday. After uninstalling LC is working again.
by kolia
Thu Oct 15, 2015 11:07 am
Forum: Windows
Topic: Put URL stopped working
Replies: 4
Views: 5012

Re: Put URL stopped working

Any Navigator (IE 11, Firefox, Google). http://www.google.fr or any other url don't give any result anymore. As said, even the previous build Windows app don't work anymore. So yes indeed something has changed, the question is what. To me, at this stage, I can't think to something else than LC itsel...
by kolia
Thu Oct 15, 2015 8:22 am
Forum: Windows
Topic: Put URL stopped working
Replies: 4
Views: 5012

Put URL stopped working

Hello, Of a sudden, on my Windows PC, Put URL no matter what stopped working. Compiled applications that were working stopped working. Same issue under LC dev environment. It returns an empty string. It is not a network issue, since I can access any URL with a regular navigtor. I even reinstalled LC...
by kolia
Wed Oct 14, 2015 2:15 pm
Forum: iOS Deployment
Topic: Design interface for mobile platform
Replies: 17
Views: 11217

Re: Design interface for mobile platform

Thanks Jean-Marc, I was indeed thinking of this method. But I was wondering whether there are other technics.
Nicolas