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

Total Noob. Question

Status
Not open for further replies.
Apr 29, 2002
3
US
I just started playing with Tcl/tk, and have a question about using Wish 8.3 on a win32 platform. I have found several tutorials on how to write code for TCL/TK. I was going through one of the tutorials ( It was starting me off using WISH. I was making my little buttons, and all seemed fine until I got to the point where it asked me to save the file. Well I looked, and I looked, but was unable to locate the command to save the file. I typed in help, and it gives me all of the commands for CMD.exe. I already know the Darn windows commands.

The tutorial I am going through was written in reference to a Unix terminal session. Not Winblows. Now I know I should be doing this on my Debian box, but I am forbidden to run Linux at work. Darnit! I am making an attempt to get some scripting under my belt, in my free time at work. So I turned to Tcl/tk.

I am planning to get the O'Reilly' book, but am low on cash at the time (TMI). Anyone have any suggestions on a good resource for TCL/TK on the win32 platform? Just the basics. I canfgure out the rest. I hope :p

Thanks
 
You know. I forgot to mention im my thread that, there is no option within the dropdown menues to save the file. All I have to choose from is

FILE = source, Hide consloe, clear console, and exit.
EDIT = cut, copy, paste, and delete.
HELP = About

Could I write a script that I can run from within Wish, that will allow me to save the file? Or is there another way? The worst thing about experience is that you usually get it right after you need it.
 
Well I just figured it out. It only took 2 hours of digging. If it was a snake it would have bit me. My problem was that Instead of launching the TK console, I was launching the Wish 8.3 interface.


Well thanks anyway. I know I will have more questions to come.

Damn us Noobs :)
_______________________________________________ The worst thing about experience is that you usually get it right after you need it.
 
AP,
Most of your scripting will be done in the same way
programmers have been doing it forever: with an ide
or with an editor.
Write your code, run, debug, etc...Using tkcon for
your experiments is excellent though.
There are several ides available that have support
for tcl: I have tried komodo at and it was okay.
As far as editors go: There are plenty of decent freeware editors out there. Try
Good Luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top