Sign in to follow this  
Followers 0
pixi

newbie with controlclock problem

5 posts in this topic

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 it

can somebody explain for me how to click on the button in the red cirkel

Sorry for my bad english :-)

/andreas

Posted Image

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by Squirrely1

Das Häschen benutzt Radar

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 by pixi

Share this post


Link to post
Share on other sites

Try with :

Opt("WinTitleMatchMode", 2) ;1=start, 2=subStr, 3=exact, 4=advanced, -1 to -4=Nocase

WinActivate("Controller")

Share this post


Link to post
Share on other sites

It might be that a proper use of WinWaitActive will help.


Das Häschen benutzt Radar

Share this post


Link to post
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
Sign in to follow this  
Followers 0