Worker file manager

1. Script command

The Script command can be used for simple scripting use cases where a linear command list is not sufficient. The script command supports multiple stacks which can be used to store data like file names or user input for use in later commands. Using the if command mode, expressions can be evaluated and different branches can be taken to program the command execution.

1.1. Script command modes

Each Script command instance can be configured to operate in one mode. Multiple instances in the command list can be chained together to build a complex command list.

The following modes are available:

1.1.1. Nop

The Nop mode is a no operation mode which has no effect.

1.1.2. Push

The Push mode is used to store an arbitrary string onto an stack of strings. The string can be some static, pre-configured string, or can contain flags similar to flags used in Own command to access the selected files or even other stack values.

The value in any stack can be accessed by other Script commands or can be used as a flag replacement in other command like the Own command.

Options:

1.1.3. Pop

The Pop mode removes an entry from a stack and discards its value. If you want to actually use the value, you have to use the flag "{top ...}" or "{pop ...}" in other commands.

1.1.4. Label

The Label mode defines a label that can be used for branching using the Goto mode.

1.1.5. If

The If mode allows to branch to a label conditionally if an expression is evaluated to true.

Options:

1.1.6. End

This mode immediately stops the command execution.

1.1.7. Settings

Some settings can be configured to modify the behavior of the Script command:

1.1.8. Change user window

This mode allows to show a simple window for user feedback, showing a progress bar and a text field.

Options:

1.1.9. Goto

The Goto mode unconditionally continues command execution at the given label.

1.1.10. Evaluate command

The Evaluate command can be used to access internal commands registered for each list view mode. Such commands are low-level commands which do not require complex configuration and operate directly without any argument or with specific string arguments.

Options: