Nogo Posted September 28, 2007 Share Posted September 28, 2007 Hello, i'm a beginner with AUTOIT. I'm trying to click buttons with changing ID's. Only the text of the buttons will not change. Is there a UDF to click or push a button with a certain text? Or how would you start to cope this problem Or have I not seen the easy way.. (for I'm a begginer...) My try (just one out of some...) This activates the window: WinActivate("classname=WindowsForms10.window.8.app.0.2004eee","1.6 x") Is there a function to activate the Button with "1.6 x"? So, simple this Send("{SPACE}") would work Thanks a lot and happy coding Link to comment Share on other sites More sharing options...
Nogo Posted September 28, 2007 Author Share Posted September 28, 2007 ControlClick("Leica Application Suite - LAS", "", "[CLASS:WindowsForms10.BUTTON.app.0.2004eee; TEXT:1.6 x]") is the solution. Using parameters instead of ID is possible, RTFM , BTW the Helpfile is great. 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