ygarti Posted December 21, 2017 Share Posted December 21, 2017 hi i am new to autoit and i try to make the chrome window focus (i don't know the chrome title because it's changing depends on the current tab Thanks Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 21, 2017 Moderators Share Posted December 21, 2017 @ygarti Welcome to the forum. How about showing what you have tried? With WinActivate you can use either the title or the class. Use the AutoIt Window Info Tool (in the same directory where you installed AutoIt) and grab the ClassName for the Chrome window. I know this method works. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
junkew Posted December 21, 2017 Share Posted December 21, 2017 See faq 31 part on uiautomation. Examples are in iuiautomation thread zip file FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 21, 2017 Moderators Share Posted December 21, 2017 We need to put a big banner at the top of the forum @junkew, Look at FAQ 31 before posting "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
junkew Posted December 21, 2017 Share Posted December 21, 2017 Put it already in my signature the help, wiki faq31 and faq40 contains all base introduction but still people cannot find it. Maybe we need to show some info when they subscribe to the forum. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets 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