Jump to content
Elvis439_PL

Close page when page open i chrome - (Moved)

Recommended Posts

Hello,

I have a problem. I try to create autoit script:

when page "www.test.com/qwertyuiop/" open in Google Chrome

then wait 5 sec and close page 

 

Something like this will be good?

 

Run('C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"')                   
Sleep(5000) 
if 
ShellExecute("http://www.google.com")
then sleep(5000)
Send( "^w" )

 

Edited by Elvis439_PL

Share this post


Link to post
Share on other sites
5 minutes ago, Elvis439_PL said:

Something like this will be good?

Have you tried and did it 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

×
×
  • Create New...