Jump to content

Recommended Posts

Posted

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 =/

Posted

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?

Posted

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!

Posted

omg that was easy - thanks!

  smartee said:

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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...