Set LISTERTITLE includes support for "tokens" in the title string such as %N - name of the current (source) folder so I can specify, for example:
Set LISTERTITLE "[Aussie] - %N"
It would be nice if DOS variables could be added to the list of supported "tokens". Then I could specify..
Set LISTERTITLE "[%USERNAME%] - %N"
..to pick up the current user ID rather than have [Aussie] hard coded.
Regards, AB
Leo
November 17, 2014, 1:52am
2
Thanks. That's an excellent solution for a button or an immediate command. What I'm really after is a way to achieve this from a layout. For example, my default layout (default.oll)currently includes..
I'd like it to handle..
Regards, AB
Jon
November 17, 2014, 2:06am
4
A script that implements the OnOpenLister event could parse the title string and update it accordingly.
Thanks for the gentle nudge jon ....
Regards, AB
Leo
November 17, 2014, 4:03am
6
That the sample script I pointed to already implements OnOpenLister, so it should be a good starting point.