Jump to content
Sign in to follow this  
Nostalius

How to do something after some time

Recommended Posts

Nostalius

Hello im new here

At first sorry for my english

Ok so... I have script like this:

Run("notepad.exe")
WinWaitActive("Notepad")
Send("{ENTER}")

I want it be like this: Run notepad, wait 20 seconds, Send Enter

Any ideas?

Cheers

Edited by Nostalius

Share this post


Link to post
Share on other sites
ofLight

The autoIt Wait command is "Sleep", so it would be....

Run("notepad.exe")
Sleep(20000)
Send("{ENTER}")

There is always a butthead in the crowd, no matter how hard one tries to keep them out.......Volly

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.