Moving (not Copy) a tab to other panel by drag&drop
Moderators: white, Hacker, petermad, Stefan2
Moving (not Copy) a tab to other panel by drag&drop
Hi
It may be a good thing if I can
Move a tab from a panel to other panel by drag&drop.
Currently by drag&drop the tab copied to other Panel and I had to close the tab on source panel after copy.
I think it can be move if user pressed Ctrl (or Shift) on drop (or vice versa: copy by Ctrl and Move by default)
thanks a lot
It may be a good thing if I can
Move a tab from a panel to other panel by drag&drop.
Currently by drag&drop the tab copied to other Panel and I had to close the tab on source panel after copy.
I think it can be move if user pressed Ctrl (or Shift) on drop (or vice versa: copy by Ctrl and Move by default)
thanks a lot
- Vochomurka
- Power Member
- Posts: 814
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
I agree.
I've written this script exactly by the same reason. Except that the script supports hot keys and button rather than drag-n-drop
I've written this script exactly by the same reason. Except that the script supports hot keys and button rather than drag-n-drop
Single user license #329241
PowerPro scripts for Total Commander
PowerPro scripts for Total Commander
- Vochomurka
- Power Member
- Posts: 814
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
Of course we could, but we can't yet. Another
this command.MoveTab script comment wrote:good idea to assign the Alt+F6 hotkey to
Single user license #329241
PowerPro scripts for Total Commander
PowerPro scripts for Total Commander
I'm using TC 7.55a
It is better than i looking forVochomurka wrote: Except that the script supports hot keys and button rather than drag-n-drop
u said "This script for Total Commander 7.0 and older." but I'm using TC 7.55a
Is there a new version that works on TC7.55a?
- Vochomurka
- Power Member
- Posts: 814
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
It is the script you are looking at when you open this pageIs there a new version that works on TC7.55a?
If you have version 6.53 that is obviously older than 7.0 you should use this version. Your version 7.55 is for sure NEWER than 7.0, then you should use the main version.
Good luck.
Single user license #329241
PowerPro scripts for Total Commander
PowerPro scripts for Total Commander
- t.rauner
- Junior Member
- Posts: 13
- Joined: 2012-07-01, 00:10 UTC
- Location: Sulzbach-Rosenberg, Germany
New attempt with TC 9.0a
-- PUSH --
Hi forum,
I have read a lot of posts here, and I have the exact same problem like descripted by the OP. I would like to have a button on the horizontal or vertical bar that moves the active tab to the other panel and activates the moved tab in the other panel, while the source tab in the source panel is being closed.
I came closer to this scenario with this weird command list:
cm_TrgActivateTab10,cm_OpenNewTab,cm_TrgActivateTab10,cm_MatchSrc,cm_CloseCurrentTab,cm_TrgActivateTab10
The careful reader will notice that I did not use something like cm_ActivateTrgTab (as there is no such command obviously), but I used cm_TrgActivateTab10 instead. This implies that my command combination will lead to unpredictive results when I open a tenth+ tab in one of the panels.
I might be satisfied if I could open the expected never to exist 99th tab, as the "up to 99 items" in command browser (cm_commandbrowser) indicates. But if I use a cm_TrgActivateTab99 command, TC just gives me a "file not found". So I think I have to stick with the 10th tab ...
Can anybody help me out with this, or even has a better solution?
Thanks in advance!
Hi forum,
I have read a lot of posts here, and I have the exact same problem like descripted by the OP. I would like to have a button on the horizontal or vertical bar that moves the active tab to the other panel and activates the moved tab in the other panel, while the source tab in the source panel is being closed.
I came closer to this scenario with this weird command list:
- * change the panel
* open a new tab
* change the panel back
* match source (i. e. show current tab folder in previously opened new tab)
* close current tab
* change the panel again
cm_TrgActivateTab10,cm_OpenNewTab,cm_TrgActivateTab10,cm_MatchSrc,cm_CloseCurrentTab,cm_TrgActivateTab10
The careful reader will notice that I did not use something like cm_ActivateTrgTab (as there is no such command obviously), but I used cm_TrgActivateTab10 instead. This implies that my command combination will lead to unpredictive results when I open a tenth+ tab in one of the panels.
I might be satisfied if I could open the expected never to exist 99th tab, as the "up to 99 items" in command browser (cm_commandbrowser) indicates. But if I use a cm_TrgActivateTab99 command, TC just gives me a "file not found". So I think I have to stick with the 10th tab ...
Can anybody help me out with this, or even has a better solution?
Thanks in advance!
Total Commander 9.20 x64
Windows 10 Pro x64
ASUS P8H67-V
Intel Core i7-2600 CPU @ 3.40GHz
Socket 1155 LGA
16384 MBytes RAM
Windows 10 Pro x64
ASUS P8H67-V
Intel Core i7-2600 CPU @ 3.40GHz
Socket 1155 LGA
16384 MBytes RAM
I've just came up with the following command:
It opens current dir in new tab of inactive panel and closes current tab; %Z tells to TC that this button should work in archives too.
Code: Select all
Command: TCFS2.exe
Parameters: %Z /ef "tcd(,`%P`,ST,1) tcm(3007)"
- t.rauner
- Junior Member
- Posts: 13
- Joined: 2012-07-01, 00:10 UTC
- Location: Sulzbach-Rosenberg, Germany
Hi MVV,MVV wrote:I've just came up with the following command:
Command: TCFS2.exe...
I just wanted to try your TCFS, but my virus scanner quarantined it, because it contains a "APC (cloud)" pattern (Avira Virus Lab).
Thank you anyway.
Total Commander 9.20 x64
Windows 10 Pro x64
ASUS P8H67-V
Intel Core i7-2600 CPU @ 3.40GHz
Socket 1155 LGA
16384 MBytes RAM
Windows 10 Pro x64
ASUS P8H67-V
Intel Core i7-2600 CPU @ 3.40GHz
Socket 1155 LGA
16384 MBytes RAM
Well, it is actually impossible to get rid of all these false detects of all these paranoid anvi-virus systems.
But I've just checked it on VirusTotal, looks pretty good.
You have a choice of course to believe your AV or not.
But I've just checked it on VirusTotal, looks pretty good.
You have a choice of course to believe your AV or not.
How about this button:
Code: Select all
TOTALCMD#BAR#DATA
cm_GoToFirstFile,cm_OpenDirInNewTabOther,cm_CloseCurrentTab
wcmicons.dll,83
Move tab to other panel (requires at least one file in currrent dir)
-1
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
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
This one is better:
It doesn't require that there is a file in the source panel.
If you want focus set to the new tab, then add ",cm_FocusTrg" at the end of the command field.
Notice this solution requires TC 9.0 - since cm_FocusTrg was intruduced in this release.
Code: Select all
TOTALCMD#BAR#DATA
cm_FocusTrg,cm_OpenNewTab,cm_FocusTrg,cm_MatchSrc,cm_CloseCurrentTab
wcmicons.dll,83
Move tab to other panel
-1
If you want focus set to the new tab, then add ",cm_FocusTrg" at the end of the command field.
Notice this solution requires TC 9.0 - since cm_FocusTrg was intruduced in this release.
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
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
- t.rauner
- Junior Member
- Posts: 13
- Joined: 2012-07-01, 00:10 UTC
- Location: Sulzbach-Rosenberg, Germany
problem solved at last
[quote="petermad"]This one is better:
Code: Select all
TOTALCMD#BAR#DATA
cm_FocusTrg,cm_OpenNewTab,cm_FocusTrg,cm_MatchSrc,cm_CloseCurrentTab
...
Notice this solution requires TC 9.0 - since cm_FocusTrg was intruduced in this release.[/quote]
Wow, I wasn't aware of this command, while desperately trying to find it.
Your version is working like a charm, THANK YOU, petermad :!:
I guess, until Christian introduces a native cm_MoveTabToTrg or something similar, this will be the best surrogate.
Thank you all for your support. :D
Edit:
I made an icon for the move tab button.
[url=http://workupload.com/file/tWmH3m5]movetab.ico 13.07 KB[/url]
Total Commander 9.20 x64
Windows 10 Pro x64
ASUS P8H67-V
Intel Core i7-2600 CPU @ 3.40GHz
Socket 1155 LGA
16384 MBytes RAM
Windows 10 Pro x64
ASUS P8H67-V
Intel Core i7-2600 CPU @ 3.40GHz
Socket 1155 LGA
16384 MBytes RAM