Automatic Mouse and Keyboard comes with many useful functions. You can generate a random number with the function RandomNumber.
Step 1. Click the toolbox, and click “Functions“.
Step 2. Select the function “RandomNumber“.
Step 3. Set “MinNum“, “MaxNum” and “ReturnValue“. Then click “OK“.
There are many other useful functions in Automatic Mouse and Keyboard. Click here to check it out.