Random Number Generator

Text

Public Domain

Random Number Generator ahk autohotkey

Download (right click, save as, rename as appropriate)

Embed

1
2
3
4
5
6
7
8
9
;Random Number Generator.ahk
inputbox, last, How many to choose from?
first = 1

random, RandNum, %first%, %last%

msgbox, From %last% entries, # %RandNum% is the winner!

return