Page 1 of 1

add a tag or color system to files view with TC

Posted: 2015-06-13, 15:06 UTC
by Michael REMY
hi,

i search search a beautiful tool which can offer me a way to categoryse my file (media: mp3, image,video,text files) which a same system.

by exemple, all media referring to a sad thing, would have a color-grey filename in total comander (sad image file, sad mp3 song, sad video, sad txt file).

I DO NOT WANT A COLOR BY MEDIA FILE (i already know do that, i need an individual color selector or a tag attribut system), a system based on the file name (cause sometime i replace files by other with better quyality and i don't want to retag it).

actualy, i have no choice to just rename my files (add a trailer little word like "_tagsad") but it get really dirty in fileview.



TC would have a such system to offer us a way to tag&color the files and if possible, it will only appear in TC view (not in windows explorer).

any plugin or extension like that in progress ?

in my old day (before the big hard drive), i use the software WhereIstit which perform that but it did not have the feature to be considered like a file explorer, only a file cataloger...

so, if TC would have this feature, i would be so happy that i could pay a second license only for that feature!.....!

i search around tool but nothing exist (only on ac OS with their Finder explorer).

i looked around in TC, and find nothing. but i found the comment editor in file menu. in there, you could add a combo box for colors choice and another one for custom tag choice. Even, in TC file view, you could add a tag column too....
by the way, where TC store the comment ? i check the doc and it did not tell it.

i'm so frustrated that there is so many ways to do that....how god, i wish i had the source code to try it myself, why TC is not opensource ..? (funny though i had)

just be inspire by that :
-imagine TC provide such contextual menu :
Image: http://filemarker.net/img/scr_FMN_ProMenu-Green.png

-then imagine TC provide this such organisation for files :
Image: http://cdn.appstorm.net/mac.appstorm.net/files/2009/04/finder-list-620x482.png

i imagine, i need, please !

have a good day

Mike

Posted: 2015-06-13, 16:50 UTC
by Dalai
You can use file comments (Ctr+Z) and color your files using those comments, with a definition like this:

Code: Select all

tc | comment | contains | sad
Regards
Dalai

Posted: 2015-06-13, 17:42 UTC
by Michael REMY
Dalai wrote:You can use file comments (Ctr+Z) and color your files using those comments, with a definition like this:

Code: Select all

tc | comment | contains | sad
MfG Dalai

but how can i define a color to this rule ?
there is only a color definition for type file, not for comment RegEx .

Posted: 2015-06-13, 18:01 UTC
by Dalai
Michael REMY wrote:there is only a color definition for type file, not for comment RegEx .
No, that's not correct. Although the button says "Define colors by file type", it allows you to use all features of TC's search, including plugins. The code above can be used on the Plugins tab of TC's search (which is titled "Define selection" in this context).

Regards
Dalai

Posted: 2015-06-13, 18:07 UTC
by ts4242
Michael REMY wrote:but how can i define a color to this rule ?
Follow the following steps:
1- Go to Configuration> Options> Color> press Define color by file type...
2- Press Add> Define...
3- Select Plugins tab
4- define this rule tc> comment> => sad
5- Press Save button and type your desired name
6- Press OK> OK> choose your color then press OK on all opened dialogs

Now any file you want to color it to be sad, just put the cursor on it and press Ctrl+Z, type sad then press OK

Posted: 2015-06-14, 07:17 UTC
by Michael REMY
ts4242 wrote:
Michael REMY wrote:but how can i define a color to this rule ?
Follow the following steps:
1- Go to Configuration> Options> Color> press Define color by file type...
2- Press Add> Define...
3- Select Plugins tab
4- define this rule tc> comment> => sad
5- Press Save button and type your desired name
6- Press OK> OK> choose your color then press OK on all opened dialogs

Now any file you want to color it to be sad, just put the cursor on it and press Ctrl+Z, type sad then press OK
i tried it but it didn't work.

Is the "equal" symbol in you exemple really right ?
4- define this rule tc> comment> => sad


because i can't get to write it, TC forbid me to put it in the rule.
i also tried differents filter from contain, casses.., but it never display the color (yes i check the box in config and yes , i click a color square bow to choose a color, when i comeback in my config i really see the good rule i set)

Posted: 2015-06-14, 09:01 UTC
by Stefan2
Michael REMY wrote:
Is the "equal" symbol in you example really right ?
4- define this rule tc | comment | = | sad


because i can't get to write it, TC forbid me to put it in the rule.
What "write"?
There is a drop-down where you can select the equal sign.

Plugin..|...Property....|....OP...|...Value
tc........|....comment..|....=.....|...bad



-

Posted: 2015-06-14, 09:19 UTC
by Michael REMY
Stefan2 wrote:
Michael REMY wrote:
Is the "equal" symbol in you example really right ?
4- define this rule tc | comment | = | sad


because i can't get to write it, TC forbid me to put it in the rule.
What "write"?
There is a drop-down where you can select the equal sign.

Plugin..|...Property....|....OP...|...Value
tc........|....comment..|....=.....|...bad



-

you are totally right ! i used the "contains", not the "=" !
it works !!!!! fabulous !!!!!

a very last question : have you an idea where the comment information is stored ? in a mini DB-sql system ? in hidden tc file in the folder ? in the file itself (i hope not) ?

also ,where the rules are stored too ? to save them and bakup them. also, it would be easier to define them in a text file with text editor in these many windows jump-option-cascade operations

thanks ! thanks ! thanks !

Posted: 2015-06-14, 10:08 UTC
by sqa_wizard
have you an idea where the comment information is stored ?
File comments are stored in a file named "descript.ion" within the same folder the file is located. (Note: it is just hidden)

Posted: 2015-06-14, 10:47 UTC
by Michael REMY
sqa_wizard wrote:
have you an idea where the comment information is stored ?
File comments are stored in a file named "descript.ion" within the same folder the file is located. (Note: it is just hidden)
thank you.

and i just find out myself where the rules are stores too : in tc file config.
here the my exemple for "test2015" rules (color with comment=test2015)

Code: Select all

[Colors]
InverseCursor=0
InverseSelection=0
BackColor=-1
BackColor2=-1
ForeColor=-1
MarkColor=-1
CursorColor=-1
CursorText=-1
ColorFilter1=>test2015
ColorFilter1Color=255
[searches]
test2015_SearchFor=*.*
test2015_SearchIn=
test2015_SearchText=
test2015_SearchFlags=0|002002000020|||||||||0000|
test2015_plugin=tc.comment = test2015