Choch Posted July 17, 2006 Share Posted July 17, 2006 I am wanting to interact with a program, (Steam) and the Autoit windows Info tool is not providing me with any control information. Are there any other tools that I might use to find out control information? (I am automating a login script, including license management for the cafe that I work for, and I would like to increase the reliability by just inputting text into the control, rather than a simple SEND text that could glitch if a user is changing windows while the text is sending.) Any help would be appreciated. Thanks Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 17, 2006 Moderators Share Posted July 17, 2006 (edited) Well if there aren't any controls showing, then the answer is no. You'll need to look at other avenues to try and get the job done, ie... Pixel Functions / MouseClick() etc... Edit: Actually, is it providing a ClassNameNN? If it is, then you could use that in place of the ControlID. Edited July 17, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
AzKay Posted July 17, 2006 Share Posted July 17, 2006 How do you use classnamenn inplace of controlid? I was searching awhile back, but didnt find the answer. Sorry for hi-jacking the thread. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 17, 2006 Moderators Share Posted July 17, 2006 Lets say you have a control button you want to click... And the AutoInfo Tool returns something like Control ID: 1 ClassNameNN: Button1Instead of ControlClick('Window', 'Text of Control', 1)You could do ControlClick('Window', 'Text of Control', 'Button1') Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
AzKay Posted July 17, 2006 Share Posted July 17, 2006 Ah, thanks # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Choch Posted July 18, 2006 Author Share Posted July 18, 2006 I was afraid of that - No there was Classname either - I did find a workaround though - I don't know how Ive missed the "blockinput" function all this time - It did just the trick - Takes the client out of the picture while I automate the user and password fields. 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