How: Copy tab to other panel and active it by shortcut?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
VimWei
Junior Member
Junior Member
Posts: 19
Joined: 2021-05-23, 11:23 UTC

How: Copy tab to other panel and active it by shortcut?

Post by *VimWei »

Hi, I what to use one shortcut to copy current tab (A1) to other pannel (A2), and active it (A2) on the top, but do not override the original tab (B).

A1(*) | B(*)
==>
A1(*) | B, A2(*)


I have tried:
1. Drag the tab A1 to other pannel(A2), or right click tab and select "copy tab to other panel", but I need active A2 manual and use mouse.
2. Use Ctrl + left/right, but A2 replace B.

What should I do?
VimWei
Junior Member
Junior Member
Posts: 19
Joined: 2021-05-23, 11:23 UTC

Re: How: Copy tab to other panel and active it by shortcut?

Post by *VimWei »

Does it possible: combine some step to one shortcut? Just like microsoft power automate or ios shortcut.

1. Ctrl I: switch to other panel
2. Ctrl T: duplicate the active tab
3. Ctrl I: switch to original panel
4. Ctrl left/right: Open directory/archive and display it in the target window
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: How: Copy tab to other panel and active it by shortcut?

Post by *Hacker »

VimWei,
Usually Ctrl-Shift-Up is used for that.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: How: Copy tab to other panel and active it by shortcut?

Post by *petermad »

2VimWei

In my Extended Menus (see my signature) I use a function like this for that:

Code: Select all

[em_copytab]
cmd=cm_FocusTrg,cm_OpenNewTab,cm_FocusTrg,cm_MatchSrc,cm_FocusTrg
menu=Copy current folder tab to opposite panel
You can put this code in your usercomd.ini file and then assign a shortcut to the em_copytab command

You can leave out the last cm_FocusTrg if you want to stay in the original panel.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
VimWei
Junior Member
Junior Member
Posts: 19
Joined: 2021-05-23, 11:23 UTC

Re: How: Copy tab to other panel and active it by shortcut?

Post by *VimWei »

Hacker wrote: 2021-05-29, 01:49 UTC Usually Ctrl-Shift-Up is used for that.
This can copy tab to other panel, but not active it.
VimWei
Junior Member
Junior Member
Posts: 19
Joined: 2021-05-23, 11:23 UTC

Re: How: Copy tab to other panel and active it by shortcut?

Post by *VimWei »

petermad wrote: 2021-05-29, 08:08 UTC

Code: Select all

[em_copytab]
cmd=cm_FocusTrg,cm_OpenNewTab,cm_FocusTrg,cm_MatchSrc,cm_FocusTrg
menu=Copy current folder tab to opposite panel
Cool! I add this to start menu, and assign a shortcut to this command. It work great! Thanks so much!
VimWei
Junior Member
Junior Member
Posts: 19
Joined: 2021-05-23, 11:23 UTC

Re: How: Copy tab to other panel and active it by shortcut?

Post by *VimWei »

petermad wrote: 2021-05-29, 08:08 UTC In my Extended Menus (see my signature) I use a function like this for that:...
WOW! This Extended Menus is repository! I’m gonna take a look at it.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: How: Copy tab to other panel and active it by shortcut?

Post by *Hacker »

VimWei,
This can copy tab to other panel, but not active it.
Neither does this:
1. Ctrl I: switch to other panel
2. Ctrl T: duplicate the active tab
3. Ctrl I: switch to original panel
4. Ctrl left/right: Open directory/archive and display it in the target window
Or perhaps you mean Configuration - Options - Folder Tabs - Ctrl+Up opens new tab in foreground.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
VimWei
Junior Member
Junior Member
Posts: 19
Joined: 2021-05-23, 11:23 UTC

Re: How: Copy tab to other panel and active it by shortcut?

Post by *VimWei »

Hacker wrote: 2021-05-29, 14:42 UTC perhaps you mean Configuration - Options - Folder Tabs - Ctrl+Up opens new tab in foreground.
Thanks! This is exactly what I wanted.
After configure, use Ctrl-Shift-Up to get my want, just your suggestion before, thanks again!
Post Reply