Darknight1366 Posted January 10, 2011 Share Posted January 10, 2011 ShellExecute("C:\Program Files\Mozilla Firefox\Firefox.exe") ; Working fine Winwaitactive("Mozilla Firefox" , "Google") Send("Wow") ;doesn't work Visit HugeSoft(TM) To Get Any Coding Help or Anything Link to comment Share on other sites More sharing options...
lowray1975 Posted January 10, 2011 Share Posted January 10, 2011 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now