Column width on the left: how to see last part only?

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
miskox
Junior Member
Junior Member
Posts: 97
Joined: 2003-06-11, 06:00 UTC

Column width on the left: how to see last part only?

Post by *miskox » 2017-08-02, 11:24 UTC

Hi all!

Let's have some files with very long file names - their beginning is the same (for example first 100 characters) and they end differently (of course). I would like to see *only* the last parts of the filenames (because I know how they begin and don't need to see them). If I click between NAME and EXT column and move that to the right I don't see file size and date info. I need that. I want to click left of the NAME tab to hide only the filename's beginning.

Is this currently possible (without any plugins - native TC)?

See images:

TC-1.gif: shows these files but endings cannot be seen
TC-2.gif: you can see filenames but not size and date info
TC-3.gif: this is what I want. I would like to click and move where the left red circle is.

Image: http://www.brickshelf.com/gallery/miskox/tmp/tc-1.gif
Image: http://www.brickshelf.com/gallery/miskox/tmp/tc-2.gif
Image: http://www.brickshelf.com/gallery/miskox/tmp/tc-3.gif


Thanks.
Saso
#224551

User avatar
Stefan2
Power Member
Power Member
Posts: 2626
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 » 2017-08-02, 11:38 UTC

Use Button: "File window above each other" for an horizontal split of the panes.




Or utilize a plugin to show part of the file name only
and create a "Custom User Column" to display the result of such plugin.



One plugin would be f.ex. Expander:

Code: Select all

...\plugins\wdx\Expander2\Expander2.lng
[Main]
; Divider for parts, you may specify any number of dividers, divide them with |
; Enclose parameter to double quotes if first or last character is space
Divider=" - "

Then create Custom Columns:
Contents3=[=expander2.Part1.FromName]\n[=expander2.Part2.FromName]\n[=expander2.Part3.FromName]
And modify the CustomColumnsCaptions:
Headers3=Part1 City\nPart2 Street\nPart3 Zip


Result:

Name                                       Column 2          Column 3
New York - Streetname 1 - 6604 LC.jpg      Streetname 1      6604 LC
New York - Streetname 2 - 6604 LC.jpg      Streetname 2      6604 LC
New York - Streetname 3 - 6604 LC.jpg      Streetname 3      6604 LC 
 
Another would be "regexp_wdx 0.1.0.4" ; "Script Content Plugin 0.2.0.0" ; "WinScript Advanced (c) Alex Shy"


and maybe more......



Or a totally different idea?



 

User avatar
nsp
Power Member
Power Member
Posts: 1216
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Column width on the left: how to see last part only?

Post by *nsp » 2017-08-02, 12:37 UTC

miskox wrote:.....
Is this currently possible (without any plugins - native TC)?

See images:

TC-1.gif: shows these files but endings cannot be seen
TC-2.gif: you can see filenames but not size and date info
TC-3.gif: this is what I want. I would like to click and move where the left red circle is.
......
Unfortunately, it is not possible to only scroll one column at the time...(and specially Name/Ext ).
you can anyhow, define a custom column mode that will align name on the right and only display last 30 chars such as template:

Code: Select all

set Name and ext very small size of 1.
Name [->] 100 [=tc.fulname:-30]
Size   [<-] 50   [=tc.size]
Date  [<-] 50   [=tc.writedate]
you can add also sadditional columns.
if you want to be able to sort by extension, you will have to add a specific ext column
This will also apply to folder :( unless you want to use others plugins..
Last edited by nsp on 2017-08-02, 13:14 UTC, edited 1 time in total.

User avatar
Hacker
Moderator
Moderator
Posts: 11281
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker » 2017-08-02, 12:51 UTC

Or

Code: Select all

[=tc.name:100-]
to show the filename from the 100th character onwards.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

miskox
Junior Member
Junior Member
Posts: 97
Joined: 2003-06-11, 06:00 UTC

Post by *miskox » 2017-08-04, 12:44 UTC

Thank you all for your answers. I will post a new REQ post for this - I would really like the simplest version: click in left red circle in the photo, move it to the right and then (after a second or two) the TC would move that to the left side.

Saso
#224551

Post Reply