wysocki Posted July 2, 2024 Posted July 2, 2024 I want to take actions with my Chrome browser window but have a problem identifying it. I can't use the title of my Chrome window because it's always the text of the current tab, which is not dependable. The Class of Chrome is "Chrome_WidgetWin_1". Unfortunately, I have another app that has the same Class. Is there a way to select the Chrome window based upon its title just NOT being the one from the other app?
Solution ioa747 Posted July 2, 2024 Solution Posted July 2, 2024 $hWnd = WinGetHandle("[REGEXPTITLE:(?i)(.* - Google Chrome.*)]") WinActivate($hWnd) I know that I know nothing
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