Rammanan Posted February 22, 2017 Share Posted February 22, 2017 Hi all. I'm new to AutoIT. So now having problem or i'm not understand how to make ControlClick based on input at .ini file Example .ini file name=rose (they have two type name rose and kiki it will change automate) so now i need ControlClick function work follow this .ini file if rose click yes else kiki click no And please help me on this to code. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted February 22, 2017 Moderators Share Posted February 22, 2017 @Rammanan ControlClick is for clicking an object on a gui, is that what you are trying to do? Your post is pretty confusing. If you are trying to manipulate a GUI, is it one you have created, or a third party? What code are you using (rather than having us guess)? We need more information to assist. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Rammanan Posted February 24, 2017 Author Share Posted February 24, 2017 (edited) @JLogan3o13Thanks so much for reply. What i need is they have third party application so now i try to automate. i already done some part on that . so my problem is :- They have msgbox ask ( your name is rose) if yes click yes else no. The name will update in .ini file so now i don't know how to automate this part . I think u will understand my problem. Code that i'm using If ($Name = "rose") Then ControlClick ("Notice", "" ,"Button1") Else ($Name = "sun") Then ControlClick ("Notice", "" ,"Button2") EndIf Don't know its correct or not. Thanks Edited February 25, 2017 by Rammanan 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