Coloring by filename

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
bogordo
Member
Member
Posts: 150
Joined: 2019-12-06, 09:07 UTC

Coloring by filename

Post by *bogordo »

I need different colors for "G" and "A" files, i could create a search to coloring "2101_G*.*" and "2101_A*.*", this works, but in different projects the "2101" changes so i would need to create again and again with 2101, 2103.

I tried creating a custom search for "_G*.*" but does not work, any clues? with regex maybe?

Another option is to create a Search for "comments" but my comments are numbers, can i specify for "G" files as comments with only "two digits", for "A" three digits...??

2101_G.01.01_name1.doc
2101_G.01.02_name2.doc
...

2101_A.01.02_name3.doc
2101_A.01.02_name4.doc
...
TC license #346559
User avatar
Dalai
Power Member
Power Member
Posts: 9393
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Coloring by filename

Post by *Dalai »

Code: Select all

*_G*
should work. If you want to narrow this quite broad search term down more you could use something like this RegEx

Code: Select all

^\d{4}_G\..+
or

Code: Select all

^\d{4}_G.+
or something similar, depending on actual filenames.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
bogordo
Member
Member
Posts: 150
Joined: 2019-12-06, 09:07 UTC

Re: Coloring by filename

Post by *bogordo »

The first method is working just perfect!! thank you very much!!

Best regards,
TC license #346559
Post Reply