cm_ commands codes in command line
Moderators: Hacker, petermad, Stefan2, white
cm_ commands codes in command line
example:
cm_CopyToClipboard=2008
when writing this command to command line:
cm_CopyToClipboard it works
questions:
1. is there a way how to use just the 2008 number to do the same?
2. is there a auto-completion for a partly written cm_ similar like tab in Linux?
cm_CopyToClipboard=2008
when writing this command to command line:
cm_CopyToClipboard it works
questions:
1. is there a way how to use just the 2008 number to do the same?
2. is there a auto-completion for a partly written cm_ similar like tab in Linux?
1. It would be much easier to assign hotkeys for frequently used commands (but aliases may help too if someone loves typing commands instead). And, BTW too, copy selected files to clipboard is Windows default action that is available on Ctrl+C. 
2. There is no internal auto-completion for internal commands. However it is very easy to create external tool that will allow executing TC commands with auto-completion because it is very easy to parse totalcmd.inc and to send a message to TC window with desired command index. I've tried to write such tool but didn't finished it.

2. There is no internal auto-completion for internal commands. However it is very easy to create external tool that will allow executing TC commands with auto-completion because it is very easy to parse totalcmd.inc and to send a message to TC window with desired command index. I've tried to write such tool but didn't finished it.
1. i use autohotkey code like eg.:
and i wanted to speedup the cm_ writing to the command line
2.thank you,
@MVV Do you know some working solution?
@Gral What is "Choose command" window?
Code: Select all
f_TC_ctrl_c() {
Suspend, On
Input,Text, I L1 T1, {Esc},f,n,p ;full_names, names, path ;nesmi tu byt mezery
If ErrorLevel = Match
{
If Text = f ; full names
{ Send cm_CopyFullNamesToClip{enter}
}
If Text = n ; names
{ Send cm_CopyNamesToClip{enter}
}
If Text = p ; path
{ Send cm_CopySrcPathToClip{enter}
clipboard := clipboard . "\" ;pridam za cestu lomitko
}
Suspend, Off
Return
}
else
{
Send ^c
Suspend, Off
Return
}
2.thank you,
@MVV Do you know some working solution?
@Gral What is "Choose command" window?
I've doctored my tool, you can try it. Just bind a hotkey for it.
tcinc 1.0.0.36
Tool lists cm-commands and aliases for them and allows filtering list using acronyms (e.g. type apc for cm_AddPathToCmdline).
Enter will execute first item from list or a selected one if you select it with Up/Down arrows.
Added on 2015-09-24 12:08:
Package updated, now last command name character is compared correctly.
tcinc 1.0.0.36
Tool lists cm-commands and aliases for them and allows filtering list using acronyms (e.g. type apc for cm_AddPathToCmdline).
Enter will execute first item from list or a selected one if you select it with Up/Down arrows.
Added on 2015-09-24 12:08:
Package updated, now last command name character is compared correctly.
Last edited by MVV on 2015-09-24, 09:15 UTC, edited 4 times in total.
solid,
I thought about it, it shouldn't be too hard, time is the only thing I need.
BTW I've created a topic for tcinc.
I thought about it, it shouldn't be too hard, time is the only thing I need.

BTW I've created a topic for tcinc.
- ghisler(Author)
- Site Admin
- Posts: 50918
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50918
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Ah, I see - but you can just Ctrl+V and Enter in the command line.
I could add cm_commandbrowserexec or so which would then execute the command.
I could add cm_commandbrowserexec or so which would then execute the command.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
I'm using it like that, but too many steps. Opening the browser, finding the command, copy name, paste it in cmd, execute it. And previous clipboard value gets trashed.
With MVV's tool is much faster and acronym searching helps a lot. Missing is only support for em_commands. Also searching in the description.
Modifier+Enter for executing should be fine solution too. Also acronym searching in the command browser.
I'm using it like that, but too many steps. Opening the browser, finding the command, copy name, paste it in cmd, execute it. And previous clipboard value gets trashed.
With MVV's tool is much faster and acronym searching helps a lot. Missing is only support for em_commands. Also searching in the description.
Modifier+Enter for executing should be fine solution too. Also acronym searching in the command browser.