Support for multiple commands in user interface

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Support for multiple commands in user interface

Post by *Lefteous »

The new feature to execute more than one command is great. I think it would be even better to tell the user about this feature or even support adding more than command in the user interface.

Maybe we can collect some ideas how this could be achieved.
User avatar
nsp
Power Member
Power Member
Posts: 1827
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Support for multiple commands in user interface

Post by *nsp »

Lefteous wrote:The new feature to execute more than one command is great. I think it would be even better to tell the user about this feature or even support adding more than command in the user interface.

Maybe we can collect some ideas how this could be achieved.
On the history.txt with 8.5b2, it seems that only cm_ and em_can be "chained" using comma as separator.
It could be great but i detected :
+ No way to use parameters even with ?
+ the commands seems to be chained without waiting.
+ the order of executed command if we have ? in parameter box for em_xxx is not respected anymore

Idea for or the GUI:

A simple way could be to have an additional tab with a grid where we can add/remove/edit steps. Each steps could be edited as normal command in the main command definition box tab once selected.

Somme options like wait previous command or wait 15sec or wait for Key pressed should be added on the step view. A debug button should list what is produced...

To prevent error in editing a stepped command, the single command tab should be started as not editable.

Next step will be to have a scripting language... :roll:
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Lefteous,
Maybe just additional 'Add' (or 'Queue' to reuse string 4005) button in command browser? So, 'OK' sets command while 'Add' ('Queue') adds it to the sequence.
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

- Tooltip for the magnifier button: "Hold down Shift to Add a command."

- Possibility to send key strokes to the UI:
Examples:
Switch to English UI:

Code: Select all

cm_LanguageConfig,<Tab>,<Home>,<Enter>
Switch to German UI:

Code: Select all

cm_LanguageConfig,<Tab>,<D>,<E>,<Enter>
Regards
Holger
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48231
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You can add a command by typing a comma behind the last command, then clicking on the magnifying glass button.
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

ghisler(Author) wrote:You can add a command by typing a comma behind the last command, then clicking on the magnifying glass button.
Yes I know - but that's in history.txt or maybe in the help file but not in the UI.

There is a hint in history.txt that not all combinations of commands are supported. Could you clarify this a bit?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48231
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Since all commands are just chained without waiting, it's not possible to chain commands which require some user interaction.
Author of Total Commander
https://www.ghisler.com
User avatar
nsp
Power Member
Power Member
Posts: 1827
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

ghisler(Author) wrote:Since all commands are just chained without waiting, it's not possible to chain commands which require some user interaction.
It is even worth than this if we want to use em_command that are not at last position. No wait/pause make it useless in a lot of case :cry:
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

So when some commands cannot be added when used in a command sequence this should be considered in the UI by filtering out or flag them.
Post Reply