Sleep command

Vik Shah Vik at Keys2Solutions.com.au
Wed Mar 4 03:02:55 EST 2015


Bas,
I usually reserve that for command line calls only. It will throw up a black command prompt window, so that is there too. 

Regards,

Vik Shah


> On 4 Mar 2015, at 17:07, Bastiaan Olij <bastiaan at basenlily.me> wrote:
> 
> Hey Vik,
> 
> Nope.. just waiting for some things to finish on a server so
> unfortunately sending it a call to start it that finishes it right away,
> and then polling it occasionally to see if its done. In this case I have
> a need to wait until its done before the user is allowed to do more.
> 
> But good tip on the external program thought the downside of that
> approach is that Omnis will be unresponsive until the program finishes
> (oh the number of users that force quit our application because they
> think it has crashed.... )
> 
> Cheers,
> 
> Bas
> 
>> On 4/03/2015 5:22 pm, Vik Shah wrote:
>> Bas,
>> 
>> Would that external process be a command call? 
>> If so, there is a difference between launch program and run program, providing a return value in launch program causes it to wait for that command to complete its execution. 
>> 
>> Regards,
>> 
>> Vik Shah
>> 
>> 
>>> On 4 Mar 2015, at 14:40, Bastiaan Olij <bastiaan at basenlily.me> wrote:
>>> 
>>> Hi All,
>>> 
>>> Does Omnis have a sleep function where it just pauses for a few
>>> milliseconds?
>>> I need to halt execution of a method for a brief period of time to give
>>> an external process a moment to finish and in this case I can't really
>>> solve it with a timer..
>>> 
>>> -- 
>>> Kindest Regards,
>>> 
>>> Bastiaan Olij
>>> e-mail: bastiaan at basenlily.me
>>> web: http://www.basenlily.me
>>> Skype: Mux213
>>> http://www.linkedin.com/in/bastiaanolij
>>> 
>>> _____________________________________________________________
>>> Manage your list subscriptions at http://lists.omnis-dev.com
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
> 
> 
> -- 
> Kindest Regards,
> 
> Bastiaan Olij
> e-mail: bastiaan at basenlily.me
> web: http://www.basenlily.me
> Skype: Mux213
> http://www.linkedin.com/in/bastiaanolij
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com



More information about the omnisdev-en mailing list