Nicpon Posted April 5, 2010 Share Posted April 5, 2010 I've been searching for enumerators on various gui controls. What I'd like to do is say for all text fields that name matches give pattern enter a value. Is there a quick hack for that? Thanks. Link to comment Share on other sites More sharing options...
EndFunc Posted April 5, 2010 Share Posted April 5, 2010 I've been searching for enumerators on various gui controls. What I'd like to do is say for all text fields that name matches give pattern enter a value. Is there a quick hack for that?Thanks.Hello..Quick Hack? Don't look for quick solutions, rather try to learn AutoIt as best you can. It will help you in the long run. Most people here will help you with your code but not write it for you if you haven't given any effort yet.So for your quetion, it depends on what you are trying to do. For the most part, AutoIT is very nice that there is almost always a function to do what you need and if not a combination of things to do what you need. You can use a loop to and probably some string functions and then use some gui functions like GuiCtrlSetData(). EndFuncAutoIt is the shiznit. I love it. Link to comment Share on other sites More sharing options...
Nicpon Posted April 6, 2010 Author Share Posted April 6, 2010 Hello.. Quick Hack? Don't look for quick solutions, rather try to learn AutoIt as best you can. It will help you in the long run. Most people here will help you with your code but not write it for you if you haven't given any effort yet. So for your quetion, it depends on what you are trying to do. For the most part, AutoIT is very nice that there is almost always a function to do what you need and if not a combination of things to do what you need. You can use a loop to and probably some string functions and then use some gui functions like GuiCtrlSetData(). I was able to jump of your suggestion to something that works, so thanks. In case someone is looking for a quick hack... $i = 1 while ControlCommand("title","","[REGEXPCLASS:.*\.EDIT.*; INSTANCE:"& $i &"]","IsVisible") = 1 ControlSetText("title","","[REGEXPCLASS:.*\.EDIT.*; INSTANCE:"& $i &"]","2") $i+=1 WEnd 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