Jump to content
Sign in to follow this  
Darknight1366

Why doesn't it work?

Recommended Posts

lowray1975

You need to change the WinTextMatchMode or be more exact. The following works perfectly:

Opt("WinTextMatchMode", 2) 
ShellExecute("C:\Program Files\Mozilla Firefox\Firefox.exe") ; Working fine 
Winwaitactive("Mozilla Firefox")
Sleep(5000)
Send("Wow")

More importantly, check out either IE.au3 (included with the AutoIT download) or ff.au3. Both allow you to control the browser via code.

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.