XYplorer window title with multiple instances
Posted: 17 Nov 2024 15:38
Hello
When you open multiple XYplorer instances by command line, they have the same name for Windows, even if you use the /title parameter and set the title bar template accordingly. This makes it impossible to use an external script to distinguish these instances (e.g. to close one without closing the others via taskkill). Steps to reproduce :
From XYplorer :
Configuration / Colors & Styles / Templates / Title bar --> <title>
Save parameters
Quit XYplorer
From command line :
"C:\Program Files (x86)\XYplorer\XYplorer.exe" /title="test1"
"C:\Program Files (x86)\XYplorer\XYplorer.exe" /title="test2"
"C:\Program Files (x86)\XYplorer\XYplorer.exe" /title="test3"
From PowerShell :
Get-Process | Where-Object { $_.MainWindowTitle } | Select-Object MainWindowTitle
Result :
All XYplorer instances have the same MainWindowTitle "XYplorer" instead of "test1 XYplorer", "test2 XYplorer" , "test3 XYplorer" (see screenshot below)
Could it be possible to transmit the /title parameter to Windows (see taskkill WINDOWTITLE parameter) ?
Thanks
When you open multiple XYplorer instances by command line, they have the same name for Windows, even if you use the /title parameter and set the title bar template accordingly. This makes it impossible to use an external script to distinguish these instances (e.g. to close one without closing the others via taskkill). Steps to reproduce :
From XYplorer :
Configuration / Colors & Styles / Templates / Title bar --> <title>
Save parameters
Quit XYplorer
From command line :
"C:\Program Files (x86)\XYplorer\XYplorer.exe" /title="test1"
"C:\Program Files (x86)\XYplorer\XYplorer.exe" /title="test2"
"C:\Program Files (x86)\XYplorer\XYplorer.exe" /title="test3"
From PowerShell :
Get-Process | Where-Object { $_.MainWindowTitle } | Select-Object MainWindowTitle
Result :
All XYplorer instances have the same MainWindowTitle "XYplorer" instead of "test1 XYplorer", "test2 XYplorer" , "test3 XYplorer" (see screenshot below)
Could it be possible to transmit the /title parameter to Windows (see taskkill WINDOWTITLE parameter) ?
Thanks