Jump to content

Help to join controls


Recommended Posts

HI all,

I am new to this script... Please help me to run this scripe...

I have created following GUI controls..

$UserName = GUICtrlCreateCheckbox ("Type User Name Domain\LoginID (-u)", 10, 33, 400, 20, $WS_TABSTOP)

$UserID = GUICtrlCreateInput ( "Domain\User", 450, 33, 400, 20, $WS_TABSTOP )

Both controls will work togater to genrate output.. Like this

if GUICtrlRead ($UserName) = 1 then $UserName = $UserID

This is working fine but my problem is to Put '-u' switch befor the output that is eqal to $UserID..... $UserID refer to input in box that we will write but -u is required to execute it.. and -u will be aplicable when $UserName is checked..

i hope you understand... please help.

Thanks...

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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