vlsmith Posted July 11, 2011 Share Posted July 11, 2011 Opt("WinTitleMatchMode", 2) $pathff = @ProgramFilesDir & "\Mozilla Firefox\firefox.exe" $url1 = "http://www.google.com/images" $url2 = "http://www.bing.com" $url3 = "http://www.youtube.com" $url4 = "http://www.ebay.com" Run($pathff & " " & $url1 & " " & $url2 & " " & $url3 & " " & $url4, "", @SW_MAXIMIZE) sleep (20000) WinActivate("[TITLE:Google Images - Mozilla Firefox; CLASS:MozillaWindowClass]", "") WinWaitActive("[TITLE:Google Images - Mozilla Firefox; CLASS:MozillaWindowClass]", "") send("blue") sleep (200) send("{ENTER}") sleep (5000) WinActivate("[TITLE:Bing - Mozilla Firefox; CLASS:MozillaWindowClass]", "") WinWaitActive("[TITLE:Bing - Mozilla Firefox; CLASS:MozillaWindowClass]", "") sleep (10000) send("yellow") sleep (200) send("{ENTER}") sleep (20000) winactivate("YouTube - Broadcast Yourself. - Mozilla Firefox", "") WinWaitActive("YouTube - Broadcast Yourself. - Mozilla Firefox", "") sleep (10000) send("green") sleep (200) send("{ENTER}") sleep (20000) winactivate("eBay | Electronics, Cars, Clothing, Collectibles and More Online Shopping - Mozilla Firefox", "") WinWaitActive("eBay | Electronics, Cars, Clothing, Collectibles and More Online Shopping - Mozilla Firefox", "") sleep (20000) Heres my code. It opens firefox multiple tabs, changes to the first tab (google images),searches for blue, but never changes after that. What I want it to do is open all the tabs, and run a different search in each tab. Can anyone help? blsmith Link to comment Share on other sites More sharing options...
somdcomputerguy Posted July 11, 2011 Share Posted July 11, 2011 Search the Example Scripts forum for FF.au3, a Firefox UDF. This may be needed here. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
smartee Posted July 11, 2011 Share Posted July 11, 2011 Correct me if I'm wrong here Bruce, but I believe that the latest versions of Firefox doesn't work with MozRepl upon which FF.au3 depends. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted July 11, 2011 Share Posted July 11, 2011 Well you may be right, just from what I know by following a recent thread that JohnOne started. I use neither the most recent Firefox, or the FF UDF, so I can't say for sure.. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
smartee Posted July 11, 2011 Share Posted July 11, 2011 Yup, on github MozRepl wasn't active since Feb 08,2010, and addons.mozilla.org said this about MozLab, the addon that housed MozRepl Link to comment Share on other sites More sharing options...
vlsmith Posted July 12, 2011 Author Share Posted July 12, 2011 quick solution: send("^{TAB}") 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