Author Topic: Show Tab-Layout-Name on Windows Titlebar  (Read 20087 times)

Matthias515566

  • Power Member
  • ****
  • Posts: 324
    • View Profile
Show Tab-Layout-Name on Windows Titlebar
« on: March 27, 2016, 18:09:47 »
I need ca. 4  Instances of a commander for my dayly work. MC do show only MC-Version and Name in the Titlebar. This information i can find under Help-menu and do not need on windows title bar. I need this for better changing between instances over the windows taskbar. BTW i removed with a tool the uneccesary taskbar preview thumbnails and can therefore see a good list of opened  instances also on windws 7 8 10 x64.

Used Version: 5.9:9 (Build 2119) X64

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4424
    • View Profile
    • Multi Commander
Re: Show Tab-Layout-Name on Windows Titlebar
« Reply #1 on: March 27, 2016, 22:47:49 »
You can force a text into the title bar from command line when MC is started.
Replacing the entire titlebar will not be added. But maybe so that title pretext can change from script or something


Matthias515566

  • Power Member
  • ****
  • Posts: 324
    • View Profile
Re: Show Tab-Layout-Name on Windows Titlebar
« Reply #2 on: March 28, 2016, 16:19:28 »
You can force a text into the title bar from command line when MC is started.

please tell me how

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4424
    • View Profile
    • Multi Commander

Matthias515566

  • Power Member
  • ****
  • Posts: 324
    • View Profile
Re: Show Tab-Layout-Name on Windows Titlebar
« Reply #4 on: March 28, 2016, 17:51:05 »
This works not when MC already opened, and the Tab-Layout will be loaded after MC is already started. Maybe i can create Windows-Shortcuts which starting the TabLayout automatically und integrating a -T-Command in such a Commandline.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4424
    • View Profile
    • Multi Commander
Re: Show Tab-Layout-Name on Windows Titlebar
« Reply #5 on: March 28, 2016, 18:45:21 »
I opened up it from the command field in the coming version.  there will be a command for the commandfield you can type/script.

Matthias515566

  • Power Member
  • ****
  • Posts: 324
    • View Profile
Re: Show Tab-Layout-Name on Windows Titlebar
« Reply #6 on: March 28, 2016, 21:04:35 »
I made for testing a user defined command Multiscript
Code: [Select]
MC.LoadTabs FILENAME="D:\SicherungConfigDaten\Multicommander Config\Layouts\Mytablayout1.mctab" REPLACE and called it Mytablayout1.
But
Code: [Select]
C:\Program Files\MultiCommander (x64)\MultiCommander.exe" -T=Mytablayout1 -Autorun=Mytablayout1 works not, but it should work i guess. what is wrong with the autorun-command? Its really better i wait for the new version with the new command.

Matthias515566

  • Power Member
  • ****
  • Posts: 324
    • View Profile
Re: Show Tab-Layout-Name on Windows Titlebar
« Reply #7 on: March 28, 2016, 21:14:05 »
what is wrong with the autorun-command?
It have to be writtn AutoRun and not Autorun.

You dont need to change it, i have the solution.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4424
    • View Profile
    • Multi Commander
Re: Show Tab-Layout-Name on Windows Titlebar
« Reply #8 on: March 28, 2016, 21:15:07 »
I made for testing a user defined command Multiscript
Code: [Select]
MC.LoadTabs FILENAME="D:\SicherungConfigDaten\Multicommander Config\Layouts\Mytablayout1.mctab" REPLACE and called it Mytablayout1.
But
Code: [Select]
C:\Program Files\MultiCommander (x64)\MultiCommander.exe" -T=Mytablayout1 -Autorun=Mytablayout1 works not, but it should work i guess. what is wrong with the autorun-command? Its really better i wait for the new version with the new command.
Loading of tabs do not change the Windows Title bar. Only the -T command line variable do

Matthias515566

  • Power Member
  • ****
  • Posts: 324
    • View Profile
Re: Show Tab-Layout-Name on Windows Titlebar
« Reply #9 on: March 29, 2016, 00:17:45 »
Big Problem

Windows do the instances not in one group of the windows Task-Bar when startet with different command lines. Its not matter ob using -AutoRun or -T. Every change of the command line cause, that the instance will be behandelt like another program.
Therefore, the T-command is useless for me.

I Test at time the 7+ Taskbar Tuner again, maybe this tool will allow me that the instances will be in a group again, but i dont believe that. The Taskbar Tweaker can regroup the icons with a random Program-ID. Its a must have.
The only way is that you integrate this in MC. Watch the Titles of Firefox, this are a nice example.

« Last Edit: March 29, 2016, 12:46:06 by Matthias515566 »

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4424
    • View Profile
    • Multi Commander
Re: Show Tab-Layout-Name on Windows Titlebar
« Reply #10 on: March 29, 2016, 17:07:18 »
Sorry.  Windows is generating the program id based on commandline.