 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
h4xx0r n00bl37
Joined: 14 Mar 2008 Posts: 57
|
Posted: Fri May 23, 2008 3:22 am Post subject: How would I use the "Random" command? |
|
|
I'm trying to make a script that will type a random number into the selcted box. This is what I have right now:
| Code: |
F6::
Random, rand, 1, 10
Random, rand, 0.0, 1.0
Return
|
|
|
| Back to top |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 935 Location: The Interwebs
|
Posted: Fri May 23, 2008 5:03 am Post subject: |
|
|
You're creating a variable with a random number, but you're not telling the script to do anything with it...
| Code: | F6::
Random, rand, 1, 10
Send %rand%
return |
|
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|