I'm trying to create a macro that repeats a key when pressed down and is repeated based on random numbers generated between 0.07 and 0.12 so that the repeated key presses seem more human.
Not sure if I'm on the right track, I have seen a few variations reading the forums but was confused and stuck with the right or best way to carry out this function.
If anyone could help it would be greatly appreciated.
What you have is more or less right. There is no need for the Set Variable to Text action, just type the calculation (just the calculation, not the Calculate text token) into the Pause action:
RANDOM()*0.05+0.07
However a problem you will have is that you are holding down the 1 key, checking that the 1 key is down, but then also simulating the 1 key which requires it to be released and then pressed and then released.
So your macro will work, but not using the 1 key as a trigger - use some other key.