Add WideActivePanelTC utility functionality

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
AlexandrT
Junior Member
Junior Member
Posts: 29
Joined: 2016-06-19, 20:07 UTC
Location: Russia

Add WideActivePanelTC utility functionality

Post by *AlexandrT »

Mr. Ghisler,
Whether it is possible to add to TC the same functionality now available in WideActivePanelTC utility as that automatic expand of the active file panel to the percentage set in INI.
http://totalcmd.net/plugring/Util_WideActivePanelTC.html

Thanks.
#231783 Single user license
AlexandrT
Junior Member
Junior Member
Posts: 29
Joined: 2016-06-19, 20:07 UTC
Location: Russia

Post by *AlexandrT »

Or other. Adding new internal cm_CustomPercent command (like cm_100Percent and cm_50Percent commands but percent are setting in INI file). For its use in View Mode feature (Auto-run commands).
#231783 Single user license
AlexandrT
Junior Member
Junior Member
Posts: 29
Joined: 2016-06-19, 20:07 UTC
Location: Russia

Post by *AlexandrT »

26.09.16 Added: cm_100percent now accepts a parameter: If >0, it sets the panel width (in percent) of the active panel. If <0, it sets the panel width (in percent) of the left window. Example: cm_100percent 70 (32/64)
Thanks for support of the cm_100Percent command with width parameter for the active panel.

But there is one incorrect feature when using View Mode.

For example:
- In left (active) file panel is set View Mode "Mode 1" (which has in Auto-run command "cm_100Percent 70" and active panel really has width of 70%)
- In right (inactive) panel also is set View Mode "Mode 1",

in case of transfer of focus to right panel of its automatic extension to 70% doesn't occur (Auto-run command for it isn't executed). Probably it is considered that View Mode for it was already set. But it doesn't consider switching between file panels. Add please re-apply View Mode when changing file panels.

Or add please autorun commands feature when changing file panels.
Thanks.
#231783 Single user license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is unfortunately impossible, the commands are only run when changing directories, not when using Tab.
Author of Total Commander
https://www.ghisler.com
AlexandrT
Junior Member
Junior Member
Posts: 29
Joined: 2016-06-19, 20:07 UTC
Location: Russia

Post by *AlexandrT »

But it would be right to do so (IMHO).
Or add please auto-run command feature when changing active file panel.
Thanks.
#231783 Single user license
Post Reply