Page 1 of 1

Asynchron execution

Posted: 05 Feb 2019, 12:31
by un_pogaz
I start with LuaMacro and I tested this piece of code:

Code: Select all

elseif (button == 72) then
    lmc_send_keys('Hello');
    lmc_send_keys(' ');
    lmc_send_keys('world');
elseif ...
 
The expected result should be "Hello world", but LuaMacro produces a this "H Weolrllod".
It would be more logical for the "lmc_send_keys()" to run one after the other and not at the same time (or to have the 2 variants "step by step" and "Asynchron execution").
(Yes, I could put all in one function, but I experiment to know the behavior of LuaMacro)

Re: Asynchron execution

Posted: 01 Apr 2019, 16:37
by amici
Got it!