Sign in to follow this  
Followers 0
Nostalius

How to do something after some time

2 posts in this topic

#1 ·  Posted (edited)

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



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