home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!spool.mu.edu!uwm.edu!linac!att!cbnewsm!gah
- From: gah@att.com (George A. Howlett)
- Subject: Re: how do I get the name of my interpreter?
- Reply-To: george.howlett@att.com
- Organization: AT&T Bell Laboratories
- Date: Thu, 21 Jan 1993 14:58:07 GMT
- Message-ID: <1993Jan21.145807.23197@cbnewsm.cb.att.com>
- X-Newsreader: TIN [version 1.1 PL8]
- References: <ASAH.93Jan17020230@tyranny.cs.Berkeley.EDU>
- Sender: news@cbnewsm.cb.att.com (NetNews Administrator)
- Nntp-Posting-Host: grenache.cnet.att.com
- Lines: 31
-
- Adam Sah (asah@cs.Berkeley.EDU) wrote:
-
- : I may be just plain ol' retarded, but I can't seem to find the name of my
- : own interpreter. "Duh, just look to the left of the colon!" Seriously,
- : is it stored in a variable somewhere? Is it returned from an 'info'
- : command?
-
- : Any help is appreciated.
-
- : --
- : Thanks again,
- : -A.Sah'93
-
- : ...Adam Sah...asah@cs.Berkeley.EDU...stuck in hell, I mean graduate school...
- On the first pass through the manuals, I couldn't find it either.
- What you want is the following command:
-
- winfo name .
-
- It took another person to point this option out to me. The
- following is from "winfo" manual page.
-
- winfo name window
- Returns window's name (i.e. its name within its parent,
- as opposed to its full path name). The command winfo |
- name . will return the name of the application.
-
-
-
- --gah
-
-