© nemo 1999-2018
ColourFiler is a RISC OS module that colours Filer windows depending on their pathname
ColourFiler in use – note grey boxes behind text are a WindowManager bug
ColourFiler allows the user to specify the background of Filer windows for specified pathnames. For example, one could colour
RamFS: white and
Share: green. You can have a different colour for each drive (which works well when drive icons have different colours), or even a different colour for remote machines.
As colours are specified for a path, individual directories can be coloured. And as a fade percentage can also be specified, the background can fade back to default grey the deeper into subdirectories you go.
The module implements two star commands:
With no parameters, this lists the current colourisation rules.
*Filer_Colour <path> <red> <green> <blue>
Specifies a colour for the given path using red, green and blue values between 0 and 255 in decimal.
*Filer_Colour <path> <red> <green> <blue> <percent>
This also sets a fade percentage as a decimal between 0 and 100. 100 means no subdirectories will be coloured (by this rule). 0 means all subdirectories will be affected and is equivalent to the above command.
*Filer_Colour <path> RRGGBB
Specifies the colour using a 24bit hexadecimal number using digits 0-9 and letters A-F.
*Filer_Colour <path> RRGGBB <percent>
Also sets the fade percentage as before.
Ensures the path is not coloured, either by specified rule or inherited from a parent.
Removes the colourisation rule for the given path. It can still inherit a colour from a parent.