Nicolai Posted February 1, 2014 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
guestscripter Posted February 1, 2014 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()
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