Type a random number directly in RunMacro
RunMacro RunnerRunMacro 3.5+
The Type Random Number command generates a random integer in a range and types it directly into the focused field (no clipboard), at a natural-timing speed.
Dialog & quick setup

- Click the number field.
- Add a Random › Type Random Number command.
- Enter min, max; (optional) enable leading zeros and random speed.
- Save.
Options reference
Modes & when to use
RunMacro Runner
Best for
- Quickly fill a random number (e.g. day 01–28) into a field.
- Need a 2-digit format (with leading zero).
- Type like a human instead of an instant paste.
Use an alternative when
- Do not use it when the number must be reused; generate it into a variable first.
Before you run
- Add Type Random Number to the macro.
- Prepare the data or target that Type Random Number will use.
Example workflow
Example: type a random day 01–28
- Click the "Day" field.
- Type Random Number, min=1, max=28, leading zeros on.
- RunMacro types e.g.
07.
Expected result: After execution, Type Random Number completes the described action and makes its result available to the next step.
Tips & limitations
Unlike Random Integer (to clipboard), this types directly — remember to click the field first.
- It types into the focused target; wrong focus sends it elsewhere and padding follows configuration.
Applies to RunMacro 3.5+ · RunMacro Runner · Windows 10/11
