Jump to content
Sign in to follow this  
newbe33

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

Recommended Posts

newbe33

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 :(

 

Share this post


Link to post
Share on other sites
Kidney

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.

Share this post


Link to post
Share on other sites
newbe33

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.

Share this post


Link to post
Share on other sites
newbe33

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.

Share this post


Link to post
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
Sign in to follow this  

×