PDA

View Full Version : Randomizer


kurosh
05-03-2005, 02:53 AM
This is trivially simple to make but I can't code. Can someone make a program where there's a small window, you press a button and it gives a random number from 1 to 10 inclusive?

BISCO
05-03-2005, 02:55 AM
not exactly what youre asking but every time you refresh this link it will do exactly what you asked, pull up a random integer between 1-10

click me (http://www.random.org/cgi-bin/randnum?num=1&min=1&max=10&col=1)

kurosh
05-03-2005, 10:42 AM
That'd be too much of a pain to use. I need something quick for HU matches. I see they have clients on that site you can use but I don't have the time or motivation to compile and junk around with it.

If someone would make me such program or use one of the clients from that site, I'd transfer them $10 on stars. First person to make it to my satisfaction gets it. Preferably a small box with a button. If you can, make it always be up on front too. Thanks.

the_joker
05-03-2005, 11:34 AM
I'll do it, it will only take 5 minutes. You want a floating point or integer number? I won't have time until late tonight to do it.

OrianasDaad
05-03-2005, 12:38 PM
Go to a comic book store and buy a ten-sided die.

If you really want a program, then PM me with your e-mail, and I'll code one up real quick for you.

kurosh
05-03-2005, 02:20 PM
Doesn't really matter but floating point with one decimal is preferable, I guess.

scolapasta
05-03-2005, 02:38 PM
Hi,

I have created a quick version of this for you. Send me a PM with an e-mail I can send it to and I will do so (and you can let me know how close I am on figuring out what you want!).

tolbiny
05-03-2005, 02:49 PM
Honestly-
i would never dl something from a guys first post.
no offense intended.

scolapasta
05-03-2005, 03:59 PM
None taken. I can understand that, and probably feel the same way.

I wrote it using a 3rd party scripting program called AutoIt. So I have both an executable (which claims it can be decompiled so as to see the code) or a script file which is easily readable - though you would need AutoIt. on your machine to run it.

Note for the decompiling of the executable you ALSO would need AutoIt. I plan on testing this feature when I get home).

kurosh
05-04-2005, 08:56 AM
Thanks, but OrianasDaad already made it for me.

CORed
05-06-2005, 05:10 PM
If you follow the link, and leave the window open, you will get a new number everytime you refresh.