Jump to content

WinActive for All Title on Google Chorme


Recommended Posts

Hi everybody, I want to Active All Title on Google Chorme, but I dont know how. Please help fix this code. Thank you.

TITLE1 : "Test1234 - Google Chrome"
TITLE1 : "234dcc#@ - Google Chrome"

if WinActive ("[TITLE:  (*) - Google Chrome; CLASS:Chrome_WidgetWin_1]") = 0 Then
   WinActivate ("[TITLE: (*) - Google Chrome; CLASS:Chrome_WidgetWin_1]")
   Sleep(100)
EndIf

Link to comment
Share on other sites

Ok. I found solution already

 

AutoItSetOption ( "WinTitleMatchMode",2)

if WinActive ("[CLASS:Chrome_WidgetWin_1; TITLE:Google Chrome]") = 0 Then
   WinActivate ("[CLASS:Chrome_WidgetWin_1; TITLE:Google Chrome]")
   Sleep(100)
EndIf

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...