Showing ID of current XY instance in the title bar

Features wanted...
Post Reply
sj515064
Posts: 51
Joined: 21 Feb 2019 06:14

Showing ID of current XY instance in the title bar

Post by sj515064 »

It is useful to show a number indicating the identity of the current XY instance in the title bar. (In my opinion, this behavior should even be set as factory default)

For example:

Code: Select all

<path> - <ins> <app> <ver>
where <ins> will return a number indicating the identity of the current XY instance.
1st instance: <ins> = "" (without the quotes, that is, empty string)
2nd instance: <ins> = "[2]" (without the quotes)
3rd instance: <ins> = "[3]" (without the quotes)
...

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Showing ID of current XY instance in the title bar

Post by bdeshi »

You can use <get instance>

Code: Select all

<path> - <get instance> <app> <ver>
But this will only show 1 for the first instance, and 2 for all other instances.
You may find this useful too.

Code: Select all

<path> - [<hwnd>] <app> <ver>
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

sj515064
Posts: 51
Joined: 21 Feb 2019 06:14

Re: Showing ID of current XY instance in the title bar

Post by sj515064 »

SammaySarkar wrote: 20 Mar 2019 12:21 You can use <get instance>

Code: Select all

<path> - <get instance> <app> <ver>
But this will only show 1 for the first instance, and 2 for all other instances.
You may find this useful too.

Code: Select all

<path> - [<hwnd>] <app> <ver>
Thanks :)

But still, I think the capability of distinguishing different instances is important and should better be provided directly (even be factory default).

klownboy
Posts: 4139
Joined: 28 Feb 2012 19:27

Re: Showing ID of current XY instance in the title bar

Post by klownboy »

I had the instance in my titlebar for a long time util I got sick of looking at it. What I think might be a better option to ask or wish for would be to have the instance always showing in the titlebar of the configuration window box. It currently shows the XYplorer revision along with the XY ini file in use (which I also find helpful when running a second copy with a different ini file), but it would be nice to also see the XY instance as well. This way you can always check it but it's not in your face all the time.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

Post Reply