Jump to content

Recommended Posts

Posted (edited)

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
Posted

Is there a reason you are using chrome specifically? There is a whole UDF ready to go for internet explorer. 

Otherwise if you really need chrome I would suggest spending some time reading and understanding how to use this. 

 

You miss 100% of the shots you don't take. -Wayne Gretzky -Michael Scott

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...