Is there a way to make an Item Count column?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
photoman
Posts: 33
Joined: 29 Jan 2017 14:36

Is there a way to make an Item Count column?

Post by photoman »

In "Tree and List" under configuration, there is a checkbox for "Show Item Count with Folder Sizes". This is great, and what I need. But it displays as for example "[350 Items]". It's too long, and almost doubles the size of my 'size' column. I need this information but screen width is at a premium.
Is there a variable with the Item count information that I could use to make a custom column and just display, for example "[350]" ?

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Is there a way to make an Item Count column?

Post by highend »

Code: Select all

Snip: CustomColumn 1
  XYplorer 17.90.0200, 13.05.2017 06:00:49
Action
  ConfigureColumn
Caption
  Item count
Type
  3
Definition
  return "[" . eval(foldersize(<cc_item>, "<d> + <f>")) . "]";
Format
  1
Trigger
  0
Item Type
  1
Item Filter
  
One of my scripts helped you out? Please donate via Paypal

Post Reply