I am looking at creating a program that rolls 5 random numbers, and depending on what those numbers are it press 5 different keys.
I know how to generate 5 different random numbers, but how can I have it simulate key presses so it works in a different application? I'm going to use it to randomly buy stuff in a game. I read that it's Keypress() but I'm not sure what the syntax is
Thanks!
Aucun commentaire:
Enregistrer un commentaire