Use a variable in a „Prompt for user input“ for the number of loops in a "Repeat Macro"

But it does support a Variable:

From post above:

You may want to review the wiki help page for Repeat action (KM Wiki), and this Macro:
Variable Repeat .

You can do the same with KM. Just insert a Pause action (KM Wiki). If you want, add a Variable "DelayBetweenRepeats" in the Prompt for User Input.

The Move and Click Action was just an example of an Action that you can put in a repeat loop.

You can do it even quicker in KM. Again, no mouse movement is required, that was just an example Action.

Perhaps a simpler Macro will help your understanding of how to use a Repeat action (KM Wiki) with a Pause action (KM Wiki).

Please note the following KM Variables are used:

  • NumOfTimesToRepeat
  • PauseTime

##Macro Library   Repeat Loop with Pause and Prompt


####DOWNLOAD:
<a class="attachment" href="/uploads/default/original/2X/c/cbe8009eac71bff56c319801e136b0e001cbd83f.kmmacros">Repeat Loop with Pause and Prompt.kmmacros</a> (4.9 KB)
**Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.**

---


<img src="/uploads/default/original/2X/a/a0feb895b92a35163e276052bd5170b6495c1e44.png" width="510" height="1004">
1 Like