Ted Singh
10-01-2010, 10:15 PM
While mControl does not include any explicit looping or iteration elements, it is possible to create macro loops.
As a protection mechanism an mControl macro must enter a "Ready" state before it can run again. A "Ready" state is usually available 2 seconds after the last macro action is complete. This protection mechanism hence precludes using a Run macro command to re-run the same macro.
As a workaround, you may consider calling a second macro, which delays for 2-3 seconds, before calling the original macro. This two macro solution provides a mechanism to create loops.
To step out of these loops, you may need a third macro, which issues Macro Stop actions to the looping macros.
As a protection mechanism an mControl macro must enter a "Ready" state before it can run again. A "Ready" state is usually available 2 seconds after the last macro action is complete. This protection mechanism hence precludes using a Run macro command to re-run the same macro.
As a workaround, you may consider calling a second macro, which delays for 2-3 seconds, before calling the original macro. This two macro solution provides a mechanism to create loops.
To step out of these loops, you may need a third macro, which issues Macro Stop actions to the looping macros.