Statalist


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

st: wrapper for use


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

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/



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