Joef10 Posted November 30, 2010 Share Posted November 30, 2010 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" Link to comment Share on other sites More sharing options...
ZacUSNYR Posted November 30, 2010 Share Posted November 30, 2010 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? Link to comment Share on other sites More sharing options...
Joef10 Posted November 30, 2010 Author Share Posted November 30, 2010 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 Link to comment Share on other sites More sharing options...
Joef10 Posted November 30, 2010 Author Share Posted November 30, 2010 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. 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