Is it possible to add [Enter] to a shortcut sequence?
Moderators: white, Hacker, petermad, Stefan2
Is it possible to add [Enter] to a shortcut sequence?
I have learned that you can create a shortcut performing not only a single, but also sequential commands. (separated by a comma)
Now I want to create a shortcut for a recognized TC command, followed by the [Enter] key.
Is that possible, without resorting to something like AutoHotkey?
Now I want to create a shortcut for a recognized TC command, followed by the [Enter] key.
Is that possible, without resorting to something like AutoHotkey?
Type in cm_CommandBrowser in TC's commandline, then type in return in field "Filter:"
cm_Return should be what you are looking for.
Code: Select all
cm_Return 1001 Simulate: Return pressed
Ah, thanks tuska.tuska wrote:Type in cm_CommandBrowser in TC's commandline, then type in return in field "Filter:"cm_Return should be what you are looking for.Code: Select all
cm_Return 1001 Simulate: Return pressed
I had tried filtering on 'enter', but not on 'return'.
But, the next problem arises...
I want to use this as a shortcut to copy a file(s) from the left panel to the right.
Using only 'cm_Copy' presents a dialogue pane before performing the copy.
If you then press 'Enter', the popup closes, and the copy is performed.
I want to create a shortcut that doesn't bother me with this inbetween popup dialogue.
But when I simulate what I can do manually, with the shortcut: "cm_Copy,cm_Return" something different happens:
The dialogue pane will show up and remain in focus anyway.
Then, after pressing [Enter] myself, the copy is performed, but after that the copied file will open.
This looks like some timing issue?
Is there a solution for that too?
I tried that, but it doesn't make a difference.tuska wrote:Try the following:
Configuration > Options... > Operation > Calculate space occupied by subdirectories: UNTICK "before copying/deleting"
then press F5...
I have now resorted in solving it by creating an AutoHotkey link.
That works perfectly.
Even without creating any pause between the 'copy' and 'enter' commands.
So the issue doesn't seem to be related to timing between the commands.
I'm still a bit curious why it doesn't work 'the TC way'.
Thanks for your attention and suggestions tuska.
hiccup,
HTH
Roman
This will not work.the shortcut: "cm_Copy,cm_Return"
BecauseI'm still a bit curious why it doesn't work 'the TC way'.
this is when cm_Copy officially ends and cm_Return can start.after pressing [Enter] myself, the copy is performed
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.
- ghisler(Author)
- Site Admin
- Posts: 48125
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No, this doesn't work - cm_return is only sent to the main program, not to any open dialog boxes.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com