Introduction

Overview / Layout

Panels

FileSystem

File Operations

Extensions

Tools

Customization and Configuration

Configuring the Layout

User Commands and Scripting

Other

API

Troubleshooting

FAQ (pages to follow)

Index

Rule Based File Coloring

Rule Based File Coloring make it possible to create rules that will define what color a file or folder should be shown as in an Explorer Panel.

It is also possible to have multiple color profiles each of which has its own setup of different rules and it is possible to switch to a different profile from a toolbar button.
You can also create user defined commands that will switch to a specific profile; these commands can be assigned to a hotkey or a menu.

Where to Create the Rules

The File Coloring Rules Editor is opened by clicking on the Color Wheel icon on the toolbar.

There are also options to enable/disable File Coloring and a list of available profiles.  By default there is only the "[Default]" profile. But if you create own profiles they will also be listed here.
Clicking on "Refresh file coloring for all files and folders" will remove all coloring information and reapply it for all files and folder.

The File Coloring Rules Editor can also accessed from the Configuration menu.

Rules Editor

In the File Coloring Rules Editor, It is possible to add/remove or modify existing rules or entire Color Profiles.

The list with its rules also acts as a preview: the rule name will be listed in the colors set for it.

Files and Folders are colored by rules from top to bottom. And the first matching rule will be the one that decides the color.
If you have multiple rule that can conflict with each other,  you can use the Up and Down button above the list to move rules up and down the list.

Every rule can have 3 criteria that must be true for the color rule to be applied. Only if all parts of the rule are true is the color rule applied.

The checkboxes in the list of rules shows if a rule is enabled or not. If you uncheck a rule then it will not be applied when coloring files and folders.

You can export rules to a file that you can later import. When exporting you are ask if you want to export all the rules or only the active rules. If any rules that are disabled will not be exported when you choose to export 'Only Active rules'.

Example

Example how the default color profile can color files and folders.

Coloring of Background

In roder for File Coloring to be able to change the background color of files/folders the Explorer Panel setting options "Use file specified background colors" and/or "Use folder specified background colors" must be enabled.
(See the two checked items in the image below

User Defined Commands

The File Coloring profile to use can be controlled by using user defined commands.
Create a user defined command of "CustomCommand" and use the MC.Explorer.SetColoringRules command.

Example

MC.Explorer.SetColoringRules Name="MyColorProfile"

After the command is created it can be assigned to a hotkey or to a menu.