Hi,
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
program?
I use stata 8.2
Thank you
Rajesh
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/