[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: wrapper for use

From   "Rajesh Tharyan" <>
To   <>
Subject   st: wrapper for use
Date   Wed, 22 Aug 2007 14:45:40 +0100


I was trying to get only the filename to display on the title bar. The best
I could come up with is 

local b=c(filename)
_getfilename `"`b'"'
local c=r(filename)
window manage maintitle `c'

How can I execute this code automatically on (after?) opening a file?

As a crude option can put a menu item on the tool bar which will run this

I use stata 8.2

Thank you 

*   For searches and help try:

© Copyright 1996–2022 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index