pixi Posted February 2, 2008 Share Posted February 2, 2008 hello!First time for me :-)i have a question about how to use controlclick on a button in i window,i have read the help file and also search on the internet but i not relay shore how to fix itcan somebody explain for me how to click on the button in the red cirkelSorry for my bad english :-)/andreas Link to comment Share on other sites More sharing options...
Squirrely1 Posted February 2, 2008 Share Posted February 2, 2008 (edited) Welcome the the AutoIt forums, pixi. If your mouse pointer was over that control when you captured the image file, then this should work to click the control: WinActivate("Controller Area Network Setup") ControlClick("Controller Area Network Setup", "", "[ClassnameNN:TkChild26]") Edited February 2, 2008 by Squirrely1 Das Häschen benutzt Radar Link to comment Share on other sites More sharing options...
pixi Posted February 2, 2008 Author Share Posted February 2, 2008 (edited) Thaks for fast replay :-) it that in a new scrips and in dont work i also only try WinActivate("Controller Area Network Setup") but the window will not be activate?? any ideas?? Edited February 2, 2008 by pixi Link to comment Share on other sites More sharing options...
Kademlia Posted February 2, 2008 Share Posted February 2, 2008 Try with : Opt("WinTitleMatchMode", 2) ;1=start, 2=subStr, 3=exact, 4=advanced, -1 to -4=Nocase WinActivate("Controller") Link to comment Share on other sites More sharing options...
Squirrely1 Posted February 2, 2008 Share Posted February 2, 2008 It might be that a proper use of WinWaitActive will help. Das Häschen benutzt Radar 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