Re: REQUEST: Easy script to show number of TLI's in folder?
<r634718-/[email protected]>
| Newsgroups | gmane.comp.windows.eccopro |
|---|---|
| Message-ID | <[email protected]> |
Offhand I think it should be doable with Slang's Ecco Pro Extension although maybe not perfectly. General steps for one way to approach it off the top of my head... Get list of folders For each folder ...get item count ...construct the count item and add it to folder .......... I think there are activescript functions that can handle all of this so it should be straightforward. The part that may be tricky -- depending on your setup -- is getting the item with the count to appear as the first item in the list in your view as you have it in your picture. You could do this with sorting, but then the rest of your sort may be messed up. You could throw in some text to make it the top item in the sort, but that would probably not be a good solution in this case. Off hand I can't think of any other good solution for that part. You can also copy the folder counts in the folder window and theoretically you could parse those counts out to get the counts... but A. I don't think you have the functions needed for that and B. I think the above would be easier. Just some quick thoughts that I hope are helpful to get you started ...I may be missing something.