Page 1 of 1
Name of Tab in Title bar of XYplorer
Posted: 24 Aug 2010 09:28
by nissensp
Hi,
By default, the path is visible in the Title bar of XYplorer. Is there a setting so that the name of the current tab is shown in the title bar of XYplorer?
Patrick
Re: Name of Tab in Title bar of XYplorer
Posted: 24 Aug 2010 14:30
by SkyFrontier
Hi, Nissensp!
You may try this:
Code: Select all
v8.80.0337 - 2010-03-06 09:23
+ Titlebar: Now the TitlebarTemplate tweak supports all XY native
variables. So when you feel like it you can add lots of info to
your titlebar now, like <date>, <xydrive>, <get pane> etc.
Remember that the <app> variable is mandatory, else your tweak is
reset to the internal default: "<path> - <app> @ <ini> - <ver>"
Available variables (maybe incomplete) can be found
here, section
"XY Internal Variables"
Re: Name of Tab in Title bar of XYplorer
Posted: 24 Aug 2010 15:09
by SkyFrontier
Attached, all "<Get... >" info available.
Basically,
Code: Select all
v8.50.0020 - 2009-10-19 14:56
+ Added new native variable <get ...> which corresponds to the
scripting function getinfo().
Syntax:
<get info [param1]>
Example:
::text "<get specialfolder 9>"; //sendto folder
Despite having all info available, you can take a look at what
XYwiki has to tell about...
...and for short (out of a glance at all of this), I'd simply say: "No, you can't... for now!"

Re: Name of Tab in Title bar of XYplorer
Posted: 24 Aug 2010 15:17
by nissensp
@ SkyFrontier
Thanks for the feedback !
This is what I found in the ini file:
; Tweak: e.g. <path> - <app> @ <ini> - <ver>. <app> is obligatory!
TitlebarTemplate="<path> - <app> @ <ini> - <ver>"
This is what I wanted, but doesn't work:
TitlebarTemplate="<folder>"
I prefer a field like "CurrentTabName", because then a renamed tab will be shown in the title bar!
I hope this works in a (near) future version... I think it might make my life easier.
Patrick
Re: Name of Tab in Title bar of XYplorer
Posted: 24 Aug 2010 15:38
by SkyFrontier
The closest I get was:
Code: Select all
TitlebarTemplate="<curfolder> @ <app>"
...but it shows the PREVIOUS FOLDER (not the TAB NAME, assuming tab was renamed...) name, not the current folder in fact.
EDIT: It works erratically, to be more accurate.
Re: Name of Tab in Title bar of XYplorer
Posted: 24 Aug 2010 15:43
by nissensp
And not only that...
For a tab with the caption "U:\" it shows U in the title bar.
Patrick
Re: Name of Tab in Title bar of XYplorer
Posted: 04 Sep 2010 16:35
by SkyFrontier
Now we
can:
Code: Select all
v9.40.0111 - 2010-09-04 15:18
+ Configuration | Templates: Added Titlebar, elevated from tweak
TitlebarTemplate. Here you can define the layout of the main
window's titlebar. The factory default is:
<path> - <app> @ <ini> - <ver>
You may add or remove what you like, in any order. There's only
one rule: The <app> (resolved to the EXE base name, normally
XYplorer; if XYplorer is not part of that name it is added to the
titlebar anyway) is mandatory.
Variables supported in the Titlebar Template:
- <path> = current path
- <app> = this EXE base name
- <ini> = current INI file (without path)
- <ver> = this EXE version
- <folder> = current folder (without path)
- All other XY native variables, e.g.
<date>, <xydrive>, <get pane>, <get userrole> etc.
...so <folder> is the answer.
If you have set <curfolder> as parameter to "TitlebarTemplate" .ini tweak, you will still notice the previously mentioned (annoying!) delay EVEN with the new template (which reads previous TitlebarTemplate content and updates itself with such info) set via config, not .ini. Just update it to <folder> and all will be fine.
Re: Name of Tab in Title bar of XYplorer
Posted: 04 Sep 2010 17:56
by admin
Is there still a demand for Name of Tab?
Re: Name of Tab in Title bar of XYplorer
Posted: 04 Sep 2010 19:30
by SkyFrontier
...if you can count in one who will *always* vote for the "more, more, MORE!!! - more options, please!", then... count me in!

Re: Name of Tab in Title bar of XYplorer
Posted: 04 Sep 2010 21:11
by zer0
SkyFrontier wrote:...if you can count in one who will *always* vote for the "more, more, MORE!!! - more options, please!", then... count me in!

As long as they aren't cluttering up the GUI, you can have all the options you want via a tweak

Re: Name of Tab in Title bar of XYplorer
Posted: 04 Sep 2010 22:30
by SkyFrontier
zer0:
As long as they aren't cluttering up the GUI, you can have all the options you want via a tweak

Totally agree.
I'm all for tweaking stuff and hidden features (still gathering some now and then, here and there, and when the moment comes I'll show some other results than what already did with the
New User's Ref Guide).
Treasure-hunter-mediocre-scripter Librarian.

Re: Name of Tab in Title bar of XYplorer
Posted: 05 Sep 2010 10:05
by PeterH
Am I wrong thinking we don't talk about a new option (or tweak), but about a new variable delivering the current tab title? This I wouldn't name "cluttering"

Re: Name of Tab in Title bar of XYplorer
Posted: 05 Sep 2010 12:31
by admin
PeterH wrote:Am I wrong thinking we don't talk about a new option (or tweak), but about a new variable delivering the current tab title? This I wouldn't name "cluttering"

This is not as trivial as I thought (because: tab titles are set *after* the window caption). Therefore: let's close this thread.