Jump to content

Search Firefox Tabs across multiple open windows


 Share

Recommended Posts

Anyone know if it's possible to search open tabs of all open firefox windows?

I might be wrong but it seems that _FFTabExists only looks for an open tab in the window that is activated or the last activated. I can't seem to make my code search the windows open in the background, it only searches the last selected window.

If I have two windows open with 3 tabs in each, and activate the window that doesn't contain the tab you want to "_FFTabSetSelected" and try "_FFTabExists" it'll only consider the foreground window.

Anyone have any ideas?

Code attached is a real real dumbed down version of what I was trying to do. I was using other methods to try and search active windows and everything else but figured I'd ask first before I continue going down that road...

#include <FF.au3>
#include <FF_AutoLogin.au3>



if _FFConnect() then

Sleep(3000)

$windowsselect = _FFWindowSelect("Gmail: Email from Google","label")
$exists = _FFTabExists("Gmail: Email from Google")
$setselected = _FFTabSetSelected("Gmail: Email from Google","label")
If _FFConnect () Then
      _FF_AutoLogin("USER","PASS", "www.gmail.com")
    EndIf

EndIf
Link to comment
Share on other sites

yeah i figured that'd be what i'd have to do

but even if i took the windowselect out and didn't select any FF windows at all...FFexists only searches in the last selected window?

Edited by lbw87
Link to comment
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
 Share

  • Recently Browsing   0 members

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