Asynchron execution

Report any bugs or suspicious behaviour here
Post Reply
un_pogaz
Posts: 9
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('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)

amici
Posts: 1
Joined: 01 Apr 2019, 16:36

Re: Asynchron execution

Post by amici » 01 Apr 2019, 16:37

Got it!
That is what I call a great site! Nothing is better than the slots there. I just fancy myself with best insecticide sprayer. Yeah, all day long.

Post Reply