Name of Tab in Title bar of XYplorer

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
nissensp
Posts: 4
Joined: 24 Aug 2010 09:13

Name of Tab in Title bar of XYplorer

Post 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

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Name of Tab in Title bar of XYplorer

Post 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"
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Name of Tab in Title bar of XYplorer

Post 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!" :?
To see the attached files, you need to log into the forum.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

nissensp
Posts: 4
Joined: 24 Aug 2010 09:13

Re: Name of Tab in Title bar of XYplorer

Post 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

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Name of Tab in Title bar of XYplorer

Post 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.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

nissensp
Posts: 4
Joined: 24 Aug 2010 09:13

Re: Name of Tab in Title bar of XYplorer

Post by nissensp »

And not only that...
For a tab with the caption "U:\" it shows U in the title bar.

Patrick

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Name of Tab in Title bar of XYplorer

Post 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.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

admin
Site Admin
Posts: 66351
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Name of Tab in Title bar of XYplorer

Post by admin »

Is there still a demand for Name of Tab?

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Name of Tab in Title bar of XYplorer

Post by SkyFrontier »

...if you can count in one who will *always* vote for the "more, more, MORE!!! - more options, please!", then... count me in! :lol:
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Name of Tab in Title bar of XYplorer

Post 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! :lol:
As long as they aren't cluttering up the GUI, you can have all the options you want via a tweak :P
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Name of Tab in Title bar of XYplorer

Post by SkyFrontier »

zer0:
As long as they aren't cluttering up the GUI, you can have all the options you want via a tweak :P
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. :lol:
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

PeterH
Posts: 2827
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Name of Tab in Title bar of XYplorer

Post 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" :D

admin
Site Admin
Posts: 66351
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Name of Tab in Title bar of XYplorer

Post 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" :D
This is not as trivial as I thought (because: tab titles are set *after* the window caption). Therefore: let's close this thread.

Post Reply