Sign in to follow this  
Followers 0
Joef10

Click windows form button Control

4 posts in this topic

Hello.

I am a newbie to AutoIt v3 and I plan to use with our window forms applications. We have a logon screen that has

button controls and I want to key in the code by pressing to corresponding button control.

What should I use to click the specific button on the app?

I tried the below:

ControlClick "Logon", "", "4"

Share this post


Link to post
Share on other sites



Does it have a control? What does the 'AutoIT Window Info' tool tell you? (it's in your Start menu - AutoIt v3).

Or is it web based?

Share this post


Link to post
Share on other sites

its not web based

; Run the bingo player

Run("C:\Inetpub\wwwroot\BingoData\BingoXP\BingoXP.exe")

ControlClick "Logon", "", "4"

I include a word doc with images of the window info.

auprop.doc

Share this post


Link to post
Share on other sites

Hello.

I figured out what I was doing wrong. I added an open and close bracket to the method "ControlClick ("Logon", "", "4")" and now it is working.

Thank you for you help.

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