Page 1 of 1

[wish] A way to insert square brackets to custom cols output

Posted: 2009-01-26, 13:56 UTC
by speller2
Please implement a way to insert "[" and "]" chars to custom columns field contents output. For example as "\[", or as "#91". At this moment TC interprets square brackets as plugin fields and there is no way (?) to make [ ] visible in the file list.

Posted: 2009-01-26, 14:38 UTC
by fenix_productions
2speller2
You can use dummy.wdx plugin:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/dummy.zip

It gives few static fields for use with super_wdx and TC (%, dollar, backslash, space, brackets, etc.).

Posted: 2009-01-26, 22:04 UTC
by speller2
Thank you, this plugin is a way, but it is still impossible to insert square bracket inside plugin field such as: [="["dirsizecalc.Directory Count"] "] [=dirsizecalc.File Count]

Posted: 2009-01-27, 00:18 UTC
by fenix_productions
2speller2
You are right, sadly.

Posted: 2009-01-27, 07:41 UTC
by m^2
[[], []]

Posted: 2009-01-27, 09:00 UTC
by speller2
and what you mean, m^2?

Posted: 2009-01-27, 09:04 UTC
by fenix_productions
2m^2
It's not really working.

For custom columns:
Widths4=80,30,80,80,80,80
Headers4=FileVersion1\nFileVersion2\nFileVersion3\nFileVersion4
Contents4=[[][="[[]"exeinfo.FileVersion"[]]"][]]\n[="[[]"exeinfo.FileVersion"[]]"]\n[[][=exeinfo.FileVersion][]]\n[=exeinfo.FileVersion]
Options4=-1|0
I can only get:

Code: Select all

File: FoxitReader23_setup.exe
FileVersion1: "exeinfo.FileVersion""
FileVersion2: "exeinfo.FileVersion""
FileVersion3: 2, 3, 2008, 3201
FileVersion4: 2, 3, 2008, 3201
or

Code: Select all

File: GPU-Z.0.3.1.exe
FileVersion1: "exeinfo.FileVersion""
FileVersion2: "exeinfo.FileVersion""
FileVersion3: 0.3.1.0
FileVersion4: 0.3.1.0

Posted: 2009-01-27, 14:08 UTC
by sqa_wizard
I had success with:

Code: Select all

[="[ "dirsizecalc.Directory Count] ]] [=dirsizecalc.File Count]
Note: Opening bracket inside plugin def, closing bracket double notation with leading space outside plugin def.

I agree: Not very consistent, but it works

Posted: 2009-01-27, 21:16 UTC
by speller2
Russians call this "crutches" :) Bcause we will have closing bracket if field have no value

Posted: 2009-01-28, 11:57 UTC
by sqa_wizard
we will have closing bracket if field have no value
You are right, but in this special case of "dirsizecalc" it doesn't matter.

Posted: 2009-01-29, 09:14 UTC
by speller2
why? on files we will have stand-alone bracket in the column while it should be empty.