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

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
speller2
Junior Member
Junior Member
Posts: 91
Joined: 2009-01-26, 13:49 UTC
Location: Russia

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

Post 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.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post 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.).
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
speller2
Junior Member
Junior Member
Posts: 91
Joined: 2009-01-26, 13:49 UTC
Location: Russia

Post 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]
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2speller2
You are right, sadly.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

[[], []]
speller2
Junior Member
Junior Member
Posts: 91
Joined: 2009-01-26, 13:49 UTC
Location: Russia

Post by *speller2 »

and what you mean, m^2?
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post 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
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post 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
#5767 Personal license
speller2
Junior Member
Junior Member
Posts: 91
Joined: 2009-01-26, 13:49 UTC
Location: Russia

Post by *speller2 »

Russians call this "crutches" :) Bcause we will have closing bracket if field have no value
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post 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.
#5767 Personal license
speller2
Junior Member
Junior Member
Posts: 91
Joined: 2009-01-26, 13:49 UTC
Location: Russia

Post by *speller2 »

why? on files we will have stand-alone bracket in the column while it should be empty.
Post Reply