Sign in to follow this  
Followers 0
Kieran

Making AutoIt Pause?

4 posts in this topic

Hi,

I'm new to AutoIT and how it works, but I get the basics very similar to Visual Basic, anyway I am wondering if I can make the program wait a few seconds as its working faster than my PC can load the program e.g

run("cmd.exe")

***DELAY FOR A FEW SECONDS HERE***

send("Blah Blah")

Send("{ENTER}")

***DELAY FOR A FEW SECONDS HERE***

Send("Blah Blah")

send("{ENTER}")

***DELAY FOR A FEW SECONDS HERE***

Send("Blah Blah")

Thanks,

Kieran

Share this post


Link to post
Share on other sites



Sleep(1000);1 second
Sleep(20000);20 seconds

Use the Sleep() command to pause your script for the specified time. :P

Share this post


Link to post
Share on other sites

Sleep(1000);1 second
Sleep(20000);20 seconds

Use the Sleep() command to pause your script for the specified time. :P

Thankyou :(

Share this post


Link to post
Share on other sites

Hi,

I'm new to AutoIT and how it works, but I get the basics very similar to Visual Basic, anyway I am wondering if I can make the program wait a few seconds as its working faster than my PC can load the program e.g

run("cmd.exe")

***DELAY FOR A FEW SECONDS HERE***

send("Blah Blah")

Send("{ENTER}")

***DELAY FOR A FEW SECONDS HERE***

Send("Blah Blah")

send("{ENTER}")

***DELAY FOR A FEW SECONDS HERE***

Send("Blah Blah")

Thanks,

Kieran

You do realize AutoIt comes with a help file, right? Still, this question has been asked 1000 times in this forum.

For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

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  
Followers 0