Is it posible to have a column show 2 dfiferent things?
Moderators: Hacker, petermad, Stefan2, white
Is it posible to have a column show 2 dfiferent things?
Hi again,
I made myself a column to show Dimensions of an image file (when in Details View).
Image: http://i.imgur.com/OwrYS.png
Does anyone know if it's possible to have the custom [=imgsize.Width]*[=imgsize.Height] as the default, but if a file doesn't have that information, then it will instead show the Size of the file instead?
Like
IF [=imgsize.Width] =/= 0, THEN [=imgsize.Width]*[=imgsize.Height], ELSE [=tc.size]
I made myself a column to show Dimensions of an image file (when in Details View).
Image: http://i.imgur.com/OwrYS.png
Does anyone know if it's possible to have the custom [=imgsize.Width]*[=imgsize.Height] as the default, but if a file doesn't have that information, then it will instead show the Size of the file instead?
Like
IF [=imgsize.Width] =/= 0, THEN [=imgsize.Width]*[=imgsize.Height], ELSE [=tc.size]
Re: Is it posible to have a column show 2 dfiferent things?
If you do nt use 64bit you can use superwdx[\B] and create a filtered column that show for image file the dimension of the size for other file typekunkel321 wrote:Hi again,
I made myself a column to show Dimensions of an image file (when in Details View).
Image: http://i.imgur.com/OwrYS.png
Does anyone know if it's possible to have the custom [=imgsize.Width]*[=imgsize.Height] as the default, but if a file doesn't have that information, then it will instead show the Size of the file instead?
Like
IF [=imgsize.Width] =/= 0, THEN [=imgsize.Width]*[=imgsize.Height], ELSE [=tc.size]
This should do it:
Code: Select all
[[=imgsize.Width"*"][=imgsize.Height][=tc.size]]
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Sorry, that didn't workpetermad wrote:This should do it:Code: Select all
[[=imgsize.Width"*"][=imgsize.Height][=tc.size]]

Unless I am doing something wrong.

I just replaced my "Size" field in Custom Columns with your string

It just shows the size for picture AND non-picture files....

There are 10 types of people in the world,
Those who understand binary and those who don't.
Those who understand binary and those who don't.
Sorry, it doesn't work - my column was just too narrow, so it looked like it worked.
I do see the image dimensions for images, but I also always see filesize in that column.
So you can have it showing width*height and filesize at the same time, leaving out width and height if not applicable, but a space or two will help:
http://madsenworld.dk/tcmd/photocolumns.png
I do see the image dimensions for images, but I also always see filesize in that column.
So you can have it showing width*height and filesize at the same time, leaving out width and height if not applicable, but a space or two will help:
Code: Select all
[=imgsize.Width"*"][=imgsize.Height][=" "tc.size]
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Thanks all, for the replies. I'm definitely checking out the Super plugin--though it looks a bit more complicated than the stock TC setup...
Thanks also, Petermad, for the tip of nesting the extra characters in the brackets. Based on that and your suggestion, I came up with
(if you can't tell on your screen, there is a long string of empty spaces)
For image files, it shows the Dimensions, then just pushes the Size way over. Unfortunately if does show the "..." which is sortof annoying. Still a workable solution though.
Image: http://i.imgur.com/5yxcu.png
Back on the SuperDWX, do you guys know if it is okay with Vista and Win 7 32 bit? I see a note on the page that it was discontinued in 2005, and has long-standing bugs.
EDIT: Interesting note: Sorting by this column has the effect of grouping by All Image Files, then All other files.
Thanks also, Petermad, for the tip of nesting the extra characters in the brackets. Based on that and your suggestion, I came up with
Code: Select all
[=imgsize.Width" x "][=imgsize.Height" "] [=tc.size.bytes]
For image files, it shows the Dimensions, then just pushes the Size way over. Unfortunately if does show the "..." which is sortof annoying. Still a workable solution though.

Image: http://i.imgur.com/5yxcu.png
Back on the SuperDWX, do you guys know if it is okay with Vista and Win 7 32 bit? I see a note on the page that it was discontinued in 2005, and has long-standing bugs.
EDIT: Interesting note: Sorting by this column has the effect of grouping by All Image Files, then All other files.
I must be doing something wrong as I just get size for all kinds of files.petermad wrote: I do see the image dimensions for images, but I also always see filesize in that column.
So you can have it showing width*height and filesize at the same time, leaving out width and height if not applicable, but a space or two will help:Code: Select all
[=imgsize.Width"*"][=imgsize.Height][=" "tc.size]

Is there something I must do to activate the "imgsize" variables?

There are 10 types of people in the world,
Those who understand binary and those who don't.
Those who understand binary and those who don't.
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
SuperWDX is Super
The latest official version is 2.2 but you can find a newer version 2.3b2 with less bug here http://www.tckb.ru/wiki/SuperWDX (even if it is is russian, use chromium or google translate to have an idea of what is written ).kunkel321 wrote:.....
Back on the SuperDWX, do you guys know if it is okay with Vista and Win 7 32 bit? I see a note on the page that it was discontinued in 2005, and has long-standing bugs....
I use every day SuperWdx because it offer a unique feature Filtering file information for the same column and it is stable enough for my uses. The plugin is not maintained anymore, it works fine on windows seven but i do not install the plugin in "program files" or any protected folder !
You must be careful with some time consuming wdx plugin on big files or on folders. To prevent this i always also add a specific <DIR> part in each column. I do not use on demand or background field on standard column. I also always unload all plugins when i install new ones !
The help and the faq in the provided chm is well written and gives you a lot of hints !
I use it very often for the sizing problem (for music it is duration + quality, image dimension, zip expanded size, ... )
The best could be to have a kind of macro language for column definition but TC do not offer it

2louwin
http://www.totalcmd.net/plugring/image.html
http://www.totalcmd.net/plugring/shelldetails.html (if you are using Windows 7)
There are other plugins that provide height and width of images:Wouldn't install the plugin, says my system has missing DLL's?
http://www.totalcmd.net/plugring/image.html
http://www.totalcmd.net/plugring/shelldetails.html (if you are using Windows 7)
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Hi again Power Members. Thanks for helping us noobs 
NSP, Do you use Super for image Dimensions? What image plugin do you use with it?
As you can see from http://i.imgur.com/YnpJQ.png (I think) the Super Column should be working for png and jpg, but it does not.

NSP, Do you use Super for image Dimensions? What image plugin do you use with it?
As you can see from http://i.imgur.com/YnpJQ.png (I think) the Super Column should be working for png and jpg, but it does not.
kunkel321 wrote:HNSP, Do you use Super for image Dimensions? What image plugin do you use with it?
I use old plugin called imageInfo http://www.totalcmd.net/plugring/wdx_image_info.html
---- edited ----
ImgSize.wdx is also working in my side. I always tick the "Show-Error" option and during setup i use debug=1 in super_wdx.ini
Hmm... Strange, it is working now.
You mentioned before about removing all your plugins and re-adding them when you re-install Super.
I removed everything, then from TC Options, I added Super, then from the Super Settings I added the others (before adding them via TC). That seemed to work. Strangly, I tried to re-create getting it to NOT work--so I could see what was causing the problem--but I was unable to reproduce the non-functionality
So I'm not 100% sure what fixed it....
I also see that the ImagesWDX supports "jpeg" which ImgInfo does not. So that's cool.
I couldn't see how to add stock info (such as Size) directly from TC, so I used the ShellDetailsWDX plugin... Is that what you do?
Thanks again for the support
http://i.imgur.com/SDurW.png
You mentioned before about removing all your plugins and re-adding them when you re-install Super.
I removed everything, then from TC Options, I added Super, then from the Super Settings I added the others (before adding them via TC). That seemed to work. Strangly, I tried to re-create getting it to NOT work--so I could see what was causing the problem--but I was unable to reproduce the non-functionality

I also see that the ImagesWDX supports "jpeg" which ImgInfo does not. So that's cool.

Thanks again for the support

http://i.imgur.com/SDurW.png
In fact when i install or remove some plugin from TC i use an internal button that only onload from memory all plugins. The command is : cm_UnloadPlugins.kunkel321 wrote:.... I used the ShellDetailsWDX plugin... Is that what you do?
for tc fields, i use filesys plugin i rename filesys.wdx to tc.wdx and only install it in super_wdx folder and add it in sseting.