I found this link https://autohotkey.com/board/topic/106754-how-do-i-make-a-random-key-press/
And provides this script:
Code: Select all
arr := ["w", "a", "s", "d"] $q:: Random, oVar, 1, 4 sendinput % arr[oVar] return
Do I have to do something special, or how do I know that it's actually running?