Jump to content
Sign in to follow this  
Guest Ordano

Need help with a simple script...

Recommended Posts

Guest Ordano

Basicly I just need a program that does this:

Wait 30


Hit Enter

Wait 1

Hit Enter

Wait 5

Hit Escape


If possible I need the program to end or pause when I hit a certain key...

Can anyone help me with this?

Edited by Ordano

Share this post

Link to post
Share on other sites

Have you taken a look at the helpfile? What you need to do is very simple, so you'll see examples of it in the manual. Read the "Using AutoIt" section if your new. You'll also find out how to loop in the Language Reference section. Sending keys and pausing are pretty basic things. There's also a command to set a command to a key, and you can probably use the handy search function of the helpfile as well to assist you on that one.

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

Share this post

Link to post
Share on other sites

Something like this should give you a start...

HotKeySet("{F1}", "Terminate")


$i = 0

While $i =0

Func Terminate()
    Exit 0

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.