How to label separate file or folder with the color?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Rotobot
Junior Member
Junior Member
Posts: 2
Joined: 2017-12-21, 09:51 UTC

How to label separate file or folder with the color?

Post by *Rotobot »

I use XYplorer, and there is a function named "Label" that gives you the opportunity to label separate files and folders with different colors. Check the screenshot below:

http://imgur.com/7Zc6Mcl


How do I do that in Total Commander?
Thank you!
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

Configuration->Options->Color->Define Colors by file type. Do not be afraid to press F1 more often :D
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
Rotobot
Junior Member
Junior Member
Posts: 2
Joined: 2017-12-21, 09:51 UTC

Post by *Rotobot »

Ovg wrote:Configuration->Options->Color->Define Colors by file type. Do not be afraid to press F1 more often :D
That's the point, I don't need to label with color specific file TYPES, I need to label specific files, the ones that I choose manually. Check the screenshot and you will see that there are three .docx files and they all are labeled with different colors
User avatar
Stefan2
Power Member
Power Member
Posts: 4158
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

Hi and welcome, Rotobot.

Rotobot wrote:...

That's the point, I don't need to label with color specific file TYPES, I need to label specific files, the ones that I choose manually.
...


Don't be tricked by the label 'TYPES'.
viewtopic.php?p=297033#297033



Follow these steps:
1- Go to Configuration> Options> Color
2- press Define color by file type...
3- Press Add
4- Press Define...

5- Enter *.docx in 'Search for:'
--- or any other word, ---or full file name, --- or by a file comment, --- or by any plugin for any file characteristic

6- Load/Save-Tab
7- 'Save' as e.g. 'search_DOCX'


8- OK
9- choose your color then press OK on all opened dialogs



 
Last edited by Stefan2 on 2017-12-23, 10:38 UTC, edited 1 time in total.
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

You can label specific file(s), try it
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
Vochomurka
Power Member
Power Member
Posts: 814
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

In TWinKey this feature is referred to as "bookmark". I use it frequently, it's indeed very handy
Single user license #329241
PowerPro scripts for Total Commander
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I'm using comments for this.

1. Chose Configuration - Options - Color
2. Click on "Define colors by file type"
3. Click on "Add"
4. Click on "Define..."
5. Open the "Plugins" tab
6. Open the combobox "Properties" and choose "Comment"
7. OP should be "contains"
8. Value can be whatever you want, e.g. good
9. Click "OK"
10. Enter a name, e.g. "Good files"
11. Click "OK"
12. Choose "Good files" from the list
13. Click OK
14. Choose a color
15. Click OK

You can repeat that with other words. Then you can press Ctrl+Z
on a file or folder to enter a comment for it, e.g. High. Total Commander
will then show the file name in the color chosen above.
Author of Total Commander
https://www.ghisler.com
zuzu_kuc
Junior Member
Junior Member
Posts: 22
Joined: 2014-04-01, 14:02 UTC

Re: How to label separate file or folder with the color?

Post by *zuzu_kuc »

Hi,
color by comments its very nice trick. However, can i somehow bypass the dialog box "comments"
f.e.:
AutoHotkey script can run command cm_EditComment but i dont know how to put to this field specific word, without open this dialog box.
can i?

Thanks!
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Re: How to label separate file or folder with the color?

Post by *gdpr deleted 6 »

2zuzu_kuc
The comments are stored in simple text files named "descript.ion" (which usually have the "Hidden" attribute set). [***]

To learn and understand the structure of the "descript.ion" files, create a few comments for some files and folders (using cm_EditComment, for instance), particularly files/folders that have a whitespace or other unusual characters (such East-Asian, Russian, or other unusual Non-ASCII characters). Then, look at the contents of the "descript.ion" file(s) to see how the comments are organized.

When you have familiarized yourself with the structure of the "descript.ion" files, go ahead and write your scripts that directly create and/or manipulate the "descript.ion" text files.



[***] This requires the option "Comments from descript.ion/files.bbs" to be enabled (You find this by from the Menu Configuration --> Options... (opens the Configuration dialog) --> at the bottom of the "Display" section).
zuzu_kuc
Junior Member
Junior Member
Posts: 22
Joined: 2014-04-01, 14:02 UTC

Re: How to label separate file or folder with the color?

Post by *zuzu_kuc »

hmmm, i thought i'd have to go through the descript.ion file for that, thanks
Post Reply