At some point keeping it "it has always been this way" (a single input control) causes more trouble than it might be worth, "script editors" in other programs offer a "line based action" approach which you can remove, insert, move up/down actions etc.
So perhaps keep it as is for those used to it, but offer a "Command Editor" for more complicated chain / those preferring more visual feedback preparing their "chain of commands" - here a mockup where I added a [+] button after the "search command" button, in the mockup it would open a new Gui as a child window similar to the "Directory menu editor" where you can add/remove items in order - there would need to be a "translation" of
cm_SelectAll,cm_Copy
to
cm_SelectAll
cm_Copy
and reverse it when saving it back into the single line input control:
https://raw.githubusercontent.com/hi5/_resources/master/commandeditor.png
(this is of course a quick mockup/example - but a picture is worth a 1000 words sometimes)
Edit:
A somewhat related suggestion: At the moment everything is stored in INI format, which brings some limitation with readability/edit friendlyness
Why not introduce a "Total Commander Command Chain Script" format (MyTCScript.tccs files) which are "just" text files with one command per line, similar to INI but easier to edit
So in Ini format it currently is
in the script file it would be
Code: Select all
[name of script]
cm_SelectAll
cm_Copy
the .tccs would be an internal association executing the script similar to batch files and the command in a button would simply be the path to the .tcss file - the editor as shown above would be able to be used from within TC or you can use your preferred editor.