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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

stariting wish from tcl script

Status
Not open for further replies.

pankajpanjwani

Technical User
Mar 25, 2002
24
EU
Hi,
I am trying to write a code in tcl which should be able to open a wish window, depending on the command line option provided to that tcl script.
Here is what I am trying to do .

file : test.tcl

set cm_argv [lindex $argv 0]
switch -exact -- $cm_argv {
-a {
tcl code ....
......
......
}
-ag {
I would like to start wish here
}
}

One way of doing this, what I know, is to write another code of pure wish syntax and get that executed here.
Can anybody suggest me an alternative.
thanks
-Pankaj




 
Hi experts,
I am struck again with this issue
If anybody has any suggestions on this, then please help me out.

thanks in anticipation
Pankaj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top