Zerobug Posted July 7, 2017 Share Posted July 7, 2017 (edited) Hi, I'm trying a basic thing, I have already done with other program and it will works fine. But, this time, not. Maybe because appostrophe in the "Title" ? Someone can help me ? I'm trying to click on "OK" button, but it does'nt works. Many thanks for your help Edited July 7, 2017 by Zerobug Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted July 7, 2017 Share Posted July 7, 2017 Good morning @Zerobug. Considering that you're using WinWait and WinActive, which return the handle of the window you're interacting with, you could try to use the handle instead of the text of the title. Make a little bit of debug and I'm sure that you'll find the way to do what you're trying to do Let us know if you manage to do what you're trying to do Regards Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Developers Jos Posted July 7, 2017 Developers Share Posted July 7, 2017 It could be your are trying to hit the Button to fast and need a little sleep() to give the application time to build up the screen. The WinActive() statement doesn't do anything there, so am wondering what you think that does for you? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Zerobug Posted July 7, 2017 Author Share Posted July 7, 2017 When I try with a computer in english, it work fine, because the Title is "Select Setup Language", without apostrophe. This is why, I'm seeking issue was apostrophe. Link to comment Share on other sites More sharing options...
Developers Jos Posted July 7, 2017 Developers Share Posted July 7, 2017 Ok, does the WinWait work? If so, use the WinHandle returned by WinWait() and remove the WinActive(). Else post your code in a <> codebox if you want help with the syntax. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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