Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

Yup, on github MozRepl wasn't active since Feb 08,2010, and addons.mozilla.org said this about MozLab, the addon that housed MozRepl

Posted Image

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...