newbe33 Posted August 17, 2013 Share Posted August 17, 2013 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 More sharing options...
Kidney Posted August 17, 2013 Share Posted August 17, 2013 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. Link to comment Share on other sites More sharing options...
JohnOne Posted August 17, 2013 Share Posted August 17, 2013 Post the function header for _FFWindowSelect AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
newbe33 Posted August 18, 2013 Author Share Posted August 18, 2013 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 More sharing options...
newbe33 Posted August 18, 2013 Author Share Posted August 18, 2013 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 More sharing options...
JohnOne Posted August 18, 2013 Share Posted August 18, 2013 It might be that you will have to use WinList(), Activate each one and connect ("" = (Default) last opened window.) AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Danp2 Posted August 18, 2013 Share Posted August 18, 2013 Have you tried something like this? $winHandle = Handle of desired window WinActivate($winHandle) _FFWindowSelect("") Latest Webdriver UDF Release Webdriver Wiki FAQs 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