gcue Posted August 8, 2008 Share Posted August 8, 2008 i have this $username=GUICtrlCreateInput("",85,20,120,25, $ES_UPPERCASE);10 after a user makes that query id like to clear the contents of that input box automatically - ready for next query tried to search help - no luck =/ Link to comment Share on other sites More sharing options...
DW1 Posted August 8, 2008 Share Posted August 8, 2008 can you post more of the script or explain in more detail what you are wanting? Right now it just sounds like you want to put it in a loop. AutoIt3 Online Help Link to comment Share on other sites More sharing options...
smartee Posted August 8, 2008 Share Posted August 8, 2008 try putting this in your loop case $msg=$submitquerybutton guictrlsetdata($username,"") whateverprocessingfunc() of course you will have to adapt it to your gui. is this what you meant? Link to comment Share on other sites More sharing options...
gcue Posted August 8, 2008 Author Share Posted August 8, 2008 sure... after the user inputs a username i write that user name to a machine (they have also specified). RegWrite("\\" & GUICtrlRead($asset) & "\hklm\software\altiris\altiris agent\inventory", "PrimaryUser", "REG_SZ", "CGUSER\" & GUICtrlRead($username)) once the reg change has occured, id like to be able to clear the contents so the user can enter the next username/asset. thanks! Link to comment Share on other sites More sharing options...
gcue Posted August 8, 2008 Author Share Posted August 8, 2008 omg that was easy - thanks! try putting this in your loop case $msg=$submitquerybutton guictrlsetdata($username,"") whateverprocessingfunc() of course you will have to adapt it to your gui. is this what you meant? 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