Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dialog box and entering commands..

Status
Not open for further replies.

sramelyk

Technical User
Sep 11, 2003
25
US
I have created a dialog box that requests 2 different inputs from the user.. I then want to take those 2 inputs and insert them into a command and then run the command.. I have already made the dialog box and really am unsure how to do the rest.. Can someone help, or point in the right direction?? I can paste the code in here if needed..
 
--- Also.. On a side note.. Can you uncompile a script once its been compiled?
 
Ok.. Let me be more specific..

I have a command I execute on a command line.. Example.

ENT-CRS-T1::VARI1,VARI2:::2WAY:CKTID=VARI3:IS;

I want to run a script that pops up a dialog box that has 3 text boxes. 2 for VARI1 and VARI2, another one for VARI3. And also a button that executes the command once you enter the appropriate variables.. This seems easy.. I have made the dialog box, but the actuall code side for programming sorta has me at a loss.. Any help, or guidance is appreciated.
 
You would want to use the strfmt command to create a string containing the values from the dialog box that you want to insert into the final string.

As for decompiling a compiled .wax file, there is no way to reverse the process.


aspect@aspectscripting.com
 
plus one added thing i use in my dacs script is to compar var1 to var2 and if they are the same, then the strfmt command uses a "1way" instead of a "2way". what is this for? a 5500?
 
Its an NGX5500 or a 6400... Its a small DCS Tellabs bought.. I just wanted to make a script including a dialog box that made x-connecting T1's easier for some of our techs.. I love the command line, but some find it easier to point and click..

Do you have any 5500 scripts you use?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top