Jump to content
Sign in to follow this  
program builder

does anyone know how to make numbers come up

Recommended Posts

program builder

Can anyone help me do this? I'm trying to get a random number to come up in notepad, between 1 and 100 million. each time a hotkey is pressed. can anyone help me out? If so please post back.

Share this post


Link to post
Share on other sites
program builder

that worked to desplay it in a message box, however How would I get it to type it in notepad.

I tyed this but it didn't work

run("notepad.exe")

sleep(15000)

send(""random""(1,149000000,1))

but it didn't work. could someone please help, if you can.

Share this post


Link to post
Share on other sites
Traddles

try:

run("notepad")

winwaitactive("Untitled")

Send(Random(1, 100000000, 1))

that should work

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.