Add commands to activate last tab and to move current tab

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Yes, well, one needs to add the commands to totalcmd.inc oneself.
Or use 5011..5099 in stead of cm_SrcActivateTab11..99 - it will work everywhere but the command line.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
sgp
Senior Member
Senior Member
Posts: 355
Joined: 2005-01-31, 16:04 UTC

Post by *sgp »

Thanks Hacker and Pertermad, I didn't know I could do that.
sirksel
Junior Member
Junior Member
Posts: 61
Joined: 2013-04-24, 10:24 UTC

Post by *sirksel »

Sorry to rekindle a dormant topic, but I'm wondering if a small change might be possible...

Rather than creating a whole new command for SrcActivateTabLast (or whatever you'd call it), would it be possible to just allow SrcActivateTab99 to activate tab 99 if there are >=99 tabs, or the rightmost tab if there are <99 tabs? Right now it activates tab 99 if one exists, or fails if one does not exist.

It seems like a small change, and maybe few enough people use 99 tabs and are relying on this 99-or-fail functionality that it wouldn't harm many existing users to make this change? It would sure help me to be able to bind a keystroke to activating the rightmost tab.

Thanks so much, Mr. Ghisler. By the way, I've been using the 9.0 beta and I continue to be amazed at how you keep finding ways to make this software even better. It's my favorite software package of all time!
AlexandrT
Junior Member
Junior Member
Posts: 29
Joined: 2016-06-19, 20:07 UTC
Location: Russia

Post by *AlexandrT »

Support ++
Any of the proposed methods.
#231783 Single user license
AlexandrT
Junior Member
Junior Member
Posts: 29
Joined: 2016-06-19, 20:07 UTC
Location: Russia

Re: Add commands to activate last tab and to move current tab

Post by *AlexandrT »

Mr. Ghisler, please add a commands to activate the last tab, such as "cm_SrcActivateTabLast", "cm_TrgActivateTabLast", "cm_LeftActivateTabLast", "cm_RightActivateTabLast".
#231783 Single user license
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Add commands to activate last tab and to move current tab

Post by *Fla$her »

Support++
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Add commands to activate last tab and to move current tab

Post by *ghisler(Author) »

You could use
cm_SrcActivateTab1,cm_SwitchToPreviousTab
Author of Total Commander
https://www.ghisler.com
AlexandrT
Junior Member
Junior Member
Posts: 29
Joined: 2016-06-19, 20:07 UTC
Location: Russia

Re: Add commands to activate last tab and to move current tab

Post by *AlexandrT »

I know about this solution. Вut it's a little different.
For example, a time lag is possible if a slow network resource is open in the first tab.
#231783 Single user license
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Add commands to activate last tab and to move current tab

Post by *Fla$her »

slow network resource
TC can also be frozen on simple folders due to wdx columns or highlighting.
Overquoting is evil! 👎
AlexandrT
Junior Member
Junior Member
Posts: 29
Joined: 2016-06-19, 20:07 UTC
Location: Russia

Re: Add commands to activate last tab and to move current tab

Post by *AlexandrT »

Mr. Ghisler, since a new version is being developed, please add commands such as "cm_SrcActivateTabLast", "cm_TrgActivateTabLast", "cm_LeftActivateTabLast", "cm_RightActivateTabLast" in one of the beta versions. Really very necessary.
#231783 Single user license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Add commands to activate last tab and to move current tab

Post by *ghisler(Author) »

You can use this:
cm_SrcActivateTab1,cm_SwitchToPreviousTab
Author of Total Commander
https://www.ghisler.com
AlexandrT
Junior Member
Junior Member
Posts: 29
Joined: 2016-06-19, 20:07 UTC
Location: Russia

Re: Add commands to activate last tab and to move current tab

Post by *AlexandrT »

You can use this:
cm_SrcActivateTab1,cm_SwitchToPreviousTab
As I wrote above, this is not the same thing... :(
#231783 Single user license
Post Reply