Copy contens to the other window: "Transfer dir under cursor to OPPOSITE panel"
Moderators: white, Hacker, petermad, Stefan2
Copy contens to the other window: "Transfer dir under cursor to OPPOSITE panel"
Sorry for my english
Do the functions
cm_TransferLeft=2024;Transfer dir under cursor to left window
cm_TransferRight=2025;Transfer dir under cursor to right window
not do exactly the same?
They both transfer "dir under cursor" to the other, the not active window,
BUT I have to use TWO Keys. One, if I want the left window (or drawer content) to
appear in the right window, and another, if I want the right window (or drawer content) to
appear in the left window.
Is there a possibility to make only ONE commando like
cm_TransferToOther=4711;Transfer dir under cursor to the other window
because then I have to use only ONE Key to transfer the active window (or drawer content)
to the other window; I don't have to consider with of the two Keys I have to use.
Thanks - Rammel
Do the functions
cm_TransferLeft=2024;Transfer dir under cursor to left window
cm_TransferRight=2025;Transfer dir under cursor to right window
not do exactly the same?
They both transfer "dir under cursor" to the other, the not active window,
BUT I have to use TWO Keys. One, if I want the left window (or drawer content) to
appear in the right window, and another, if I want the right window (or drawer content) to
appear in the left window.
Is there a possibility to make only ONE commando like
cm_TransferToOther=4711;Transfer dir under cursor to the other window
because then I have to use only ONE Key to transfer the active window (or drawer content)
to the other window; I don't have to consider with of the two Keys I have to use.
Thanks - Rammel
Re: Copy contens to the other window
You can make it yourself.
Either use this button:
or make an em_command like this:
in your usercmd.ini and then assign a hotkey to the command
Either use this button:
Code: Select all
TOTALCMD#BAR#DATA
%COMMANDER_EXE% /A /O
/S /R=%P%N
WCMICONS.DLL,19
Transfer dir under cursor to opposite panel
-1
To make the button:
1. Mark the text in the box here above (click SELECT ALL).
2. Copy it to the ClipBoard (press Ctrl+C).
3. Right click on TC's buttonbar and choose "Paste".
or make an em_command like this:
Code: Select all
[em_transfer_to_opposite]
cmd=%COMMANDER_EXE% /A /O
param=/S /R=%P%N
button=WCMICONS.DLL,19
menu=Transfer dir under cursor to opposite panel
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.50 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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Copy contens to the other window
I use the usercmd.ini version; it works well!
Thank you SO much!
Thank you SO much!
Re: Copy contens to the other window: "Transfer dir under cursor to OPPOSITE panel"
2Rammel
The solution will not work in virtual folders like \\Desktop or \\Network, but it does work in filesystem folders under \\Network and in Network shares. It does not work on FTP sites.
The solution will not work in virtual folders like \\Desktop or \\Network, but it does work in filesystem folders under \\Network and in Network shares. It does not work on FTP sites.
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.50 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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Copy contens to the other window: "Transfer dir under cursor to OPPOSITE panel"
Thanks to petermad, this is exactly what I needed!
(I was searching for a way to assign Ctrl-Arrow to a button, with the Left/Right "complication").
Well, in reality there is another wish.......
I mainly use this functionality when working with a feedbox: I have the results of a search in a panel, and I need the other panel to acquire the location of the file under cursor in the feedbox.
If I do this with Ctrl-LeftArrow or Ctrl-RightArrow, in the target panel the file that was under cursor in the source panel is pre-selected, while with this button no files in the target panel are selected (this helps alot when there are many similar filenames).
Is there a way to obtain the same behavior?
Thanks in advance.
(I was searching for a way to assign Ctrl-Arrow to a button, with the Left/Right "complication").
Well, in reality there is another wish.......
I mainly use this functionality when working with a feedbox: I have the results of a search in a panel, and I need the other panel to acquire the location of the file under cursor in the feedbox.
If I do this with Ctrl-LeftArrow or Ctrl-RightArrow, in the target panel the file that was under cursor in the source panel is pre-selected, while with this button no files in the target panel are selected (this helps alot when there are many similar filenames).
Is there a way to obtain the same behavior?
Thanks in advance.
Re: Copy contens to the other window: "Transfer dir under cursor to OPPOSITE panel"
2RickyGold
For use in a feedbox you have to remove %P - like this:
or as button:
I have added the new (TC 10.50) parameter /P - then it can also be used to pre-select directories in the other panel, without going into that directory
For use in a feedbox you have to remove %P - like this:
Code: Select all
[em_transfer_to_opposite_from_feedbox]
cmd=%COMMANDER_EXE% /A /O /P
param=/S /R=%N
button=WCMICONS.DLL,19
menu=Transfer file under cursor in feedbox to opposite panel
Code: Select all
TOTALCMD#BAR#DATA
%COMMANDER_EXE% /A /O /P
/S /R=%N
WCMICONS.DLL,19
Transfer file under cursor in feedbox to opposite panel
-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.50 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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Copy contens to the other window: "Transfer dir under cursor to OPPOSITE panel"
2RickyGold
Everything that concerns navigation I used to do with TCFS2, as it is noticeably faster than with the call %COMMANDER_EXE%.
Since you did not request to save the focus on the folder, I suggest the variant for files (including from virtual folders):
Everything that concerns navigation I used to do with TCFS2, as it is noticeably faster than with the call %COMMANDER_EXE%.
Since you did not request to save the focus on the folder, I suggest the variant for files (including from virtual folders):
Code: Select all
TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Utils\TCFS2\TCFS2.exe /ef tcm(2026-msg(1074,1000))
wciconex.dll,206
Transfer object under cursor to inactive panel
Overquoting is evil! 👎
Re: Copy contens to the other window: "Transfer dir under cursor to OPPOSITE panel"
Just in case, you can also create two em_command like:
The em_TransferToOpposite do all the job ! it can fail on some folder...
Code: Select all
[em_cdTarget]
cmd=CD
param=%T%M
Code: Select all
[em_TransferToOpposite]
cmd=cm_FocusTrg,CM_WAIT 2,em_cdTarget
button=WCMICONS.DLL,19
menu=Set Folder to opposite Panel
Re: Copy contens to the other window: "Transfer dir under cursor to OPPOSITE panel"
Thanks to petermad, Fla$her and nsp for the kind replies.
Unfortunately, seems to me that the exact same behavior of the Ctrl-LeftArrow & Ctrl-RightArrow is not obtainable through a single button, and also the "Left-Right" instead of "Target-Source" kind of parameter make things more difficult.
A pity but not a drama: the [Mar 22, 2021] solution by petermad already made the operation of my environment much better than before.
Thanks again to all of you.
Unfortunately, seems to me that the exact same behavior of the Ctrl-LeftArrow & Ctrl-RightArrow is not obtainable through a single button, and also the "Left-Right" instead of "Target-Source" kind of parameter make things more difficult.
A pity but not a drama: the [Mar 22, 2021] solution by petermad already made the operation of my environment much better than before.
Thanks again to all of you.
Re: Copy contens to the other window: "Transfer dir under cursor to OPPOSITE panel"
Since %Q became available at 10.51, I will publish the second option with TCFS2 (it does not have the versatility of the first, but let it be):
Code: Select all
TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Utils\TCFS2\TCFS2.exe
%Z/ef "tcd(,<`%Q%V\:`>,S)"
wciconex.dll,206
Transfer object under cursor to inactive panel
Overquoting is evil! 👎