Jump to content

Firefox - how to connect to a FF window with given hWnd


Recommended Posts

Hi, I have 4 open (from external program) Firefox windows - each is with the same title  and of course with different hWin handle. How can I send control to a specific window? _FFWindowSelect does not help - windows are nearly the same. I have handles to windows, but there is no "_FFWindowHandleSelect" function :(

 

Link to comment
Share on other sites

There is however _FFTabGetSelected and _FFTabSetSelected. Much easier to manage the tabs instead of windows. Unless you need them in separate windows for some reason, this should work.

Yes, but I've those Windows already opened and all I want is to connect to them separately. Each window has only one tab with the same name.
Link to comment
Share on other sites

Post the function header for _FFWindowSelect

Ok, there is a header, I've a hWnd handle so I dont see how to use this function. All windows have the same title.

_FFWindowSelect([$sSearch = ""[, $sSearchMode = "title"[, $bActivate = True]]])

Parameters

$sSearch Title, current URL (substring) or any tab-Label (RegExp)

"" = (Default) last opened window.

$sSearchMode

Optional: Selection mode:

title = (Default) Current window title.

href = Current window URL.

label = Any tab label of the window.

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...