Nicolai Posted February 1, 2014 Share Posted February 1, 2014 (edited) When i perform ControlClick in chrome browser inactive window, i lost focus in my current browser's window. I try so $wcurr=WinGetHandle("[ACTIVE]") ControlClick .... WinActivate($wcurr) It help, but can see switching focus . I often perform ControlClick , and switching all time focus is very disturbing. What can do? . Edited February 1, 2014 by Nicolai Link to comment Share on other sites More sharing options...
BlackDawn187 Posted February 1, 2014 Share Posted February 1, 2014 I suggest you read this extensively. Link to comment Share on other sites More sharing options...
Nicolai Posted February 1, 2014 Author Share Posted February 1, 2014 there nothing can help Link to comment Share on other sites More sharing options...
guestscripter Posted February 1, 2014 Share Posted February 1, 2014 try, instead of WinGetHandle("[ACTIVE]") to use $sWinTitle = "yourwindowtitle" ;... $hWinHandle = WinGetHandle($sWinTitle) because as far as is understandable, you don´t want the script to bring to focus any windows, which means you don´t want the script to activate any windows. So stop activating windows in your script with WinActivate :-) ImageSearch15.au3 featuring _ImageSearchStartup() and _ImageSearchShutdown() 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