Asynchron execution

Report any bugs or suspicious behaviour here
Post Reply
Posts: 6
Joined: 05 Feb 2019, 09:40

Asynchron execution

Post by un_pogaz » 05 Feb 2019, 12:31

I start with LuaMacro and I tested this piece of code:

Code: Select all

elseif (button == 72) then
    lmc_send_keys(' ');
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)

Post Reply