About the "Until" action functioning

Hello everyone,

I've noticed some issues while executing macros with the "until" action, and before spending time searching for other possible reasons, I need to know how it works, so I have a simple question that I couldn't see in the wikia:

Does it execute all the actions included in it, even after the condition takes place?


until {

action 1
action 2
--Condition reached--
action 3
action 4

} until

Does it run actions 3 and 4?

Thank you very much.

Yes. The Until action condition is not evaluated UNTIL the end of the Until Loop. This is actually quite easy to test.

For example:

Example Results


MACRO:   Demo Until Action [Example]

~~~ VER: 1.0    2019-01-28 ~~~


Demo Until Action [Example].kmmacros (4.8 KB)
Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.



Understood Michael, It will help me a lot to search for the error.

Thank you very much.

El El lun, 28 ene 2019 a las 21:50, JMichaelTX kmforum@forum.keyboardmaestro.com escribió: