[BUG] Commandline parameter /P=L is ignored...
Moderators: Hacker, petermad, Stefan2, white
[BUG] Commandline parameter /P=L is ignored...
...when /O is set and there is a running TC instance with focus set to right panel.
On the contrary /T always sets focus to left panel even in a running TC instance if /R is not used. This is rather confusing actually and very bad for (AHK) scripts.
Icfu
On the contrary /T always sets focus to left panel even in a running TC instance if /R is not used. This is rather confusing actually and very bad for (AHK) scripts.
Icfu
This account is for sale
Re: [BUG] Commandline parameter /P=L is ignored...
confirmed.icfu wrote:...when /O is set and there is a running TC instance with focus set to right panel.
Although it seems no bug as it is mentioned in the help that this parameter works at program start.
But I agree that it should work with "/O", too.
Not Confirmed.On the contrary /T always sets focus to left panel even in a running TC instance if /R is not used. This is rather confusing actually and very bad for (AHK) scripts.
XP SP2 TC 6.53
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
Oh sh*t, after changing the configuration with UTC Config the wrong TC-Version was restarted (accidentally).SanskritFritz wrote:Confirmed. XP SP2 TC 6.53On the contrary /T always sets focus to left panel even in a running TC instance if /R is not used.
What is the difference between our system, Partner?
So after all here confirmed, too.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I'm sorry but I don't understand the /T problem. If for example I call TC with
TOTALCMD.exe /O /T /R=c:\test
Then the existing TC instance changes to c:\test on the right panel in a separate tab, and then activates this tab. Please explain what's wrong about that!
TOTALCMD.exe /O /T /R=c:\test
Then the existing TC instance changes to c:\test on the right panel in a separate tab, and then activates this tab. Please explain what's wrong about that!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
When using the /o parameter the currently active pane remains active.ghisler(Author) wrote:I'm sorry but I don't understand the /T problem. If for example I call TC with
TOTALCMD.exe /O /T /R=c:\test
Then the existing TC instance changes to c:\test on the right panel in a separate tab, and then activates this tab. Please explain what's wrong about that!
Adding the /T parameter always the the right panel is set active.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Hmm, but when I use
TOTALCMD.exe /O /T /L=c:\co
Then the left pane becomes active, so not always the right panel is set active!
TOTALCMD.exe /O /T /L=c:\co
Then the left pane becomes active, so not always the right panel is set active!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
The problem is that strange inconsistency:
1. /T /R sets focus to right panel, /T /L sets focus to left panel.
2. If there is no /T, /R does NOT set focus to right panel and /L does NOT set focus to the left but instead you have to use /P but only if there is no running TC because with /O this doesn't work.
Is it logical to have two switches that are able to set focus? One standalone switch /P that you have to use when not creating tabs and one tabswitch /T that already includes focus setting?
Sorry, but this is confusing. Please remove focus setting from /T and stick to /P only and make /P also work for already running instances.
Or do I have to create an AutoHotkey-workaround?
If I want to activate the right panel of a running TC I have to create a tab on the right and then remove it by sending Ctrl-W? Yeah, that works too but honestly it sounds ridiculuos.
Icfu
1. /T /R sets focus to right panel, /T /L sets focus to left panel.
2. If there is no /T, /R does NOT set focus to right panel and /L does NOT set focus to the left but instead you have to use /P but only if there is no running TC because with /O this doesn't work.
Is it logical to have two switches that are able to set focus? One standalone switch /P that you have to use when not creating tabs and one tabswitch /T that already includes focus setting?
Sorry, but this is confusing. Please remove focus setting from /T and stick to /P only and make /P also work for already running instances.
Or do I have to create an AutoHotkey-workaround?
If I want to activate the right panel of a running TC I have to create a tab on the right and then remove it by sending Ctrl-W? Yeah, that works too but honestly it sounds ridiculuos.

Icfu
This account is for sale
2icfuicfu wrote:If I want to activate the right panel of a running TC I have to create a tab on the right and then remove it by sending Ctrl-W? Yeah, that works too but honestly it sounds ridiculuos.
This is the style the east german economy was working.

I'm once again impressed how imaginative you are.
BTW for AHK one could use cm_focusleft or cm_focusright to set the focus - what you probably know but what may be of interest for some silent lurker here.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams