At 05:25 PM 2/23/2005, Javier Valencia wrote:

John:
Just run this snippet of code in your start up file:

SET VAR vmydir = ('''' + 'Dir: ' + (CVAL('CURRDIR'))+ '''')
PROPERTY APPLICATION TITLE &vmydir
RETURN

You can of course change the caption to be anything you want,
if you just want to use the directory name then use:

SET VAR vmydir = (CVAL('CURRDIR'))
PROPERTY APPLICATION TITLE &vmydir
RETURN

Every time that you start R:Base from a different directory,
each instance will display the starting directory name on the
caption at the bottom of the screen. I hope this is what you
were looking for�


At 05:35 PM 2/23/2005, John Docherty wrote:

Javier,

Thanks for your reply � I am using that property already
which tells me the name on the taskbar, but that does not get
reflected in the caption which appears on the RBase �window�.


John and Javier,

Try this:

SET VAR vMyCurrentDir TEXT = NULL
SET VAR vMyCurrentDir = (CVAL('CURRDIR'))
SET CAPTION .vMyCurrentDir
RETURN

That should give you exactly what you are looking for.

And that is your tip of the day!

Very Best R:egards,

Razzak.



Reply via email to