# Length of selected files

**URL:** https://resource.dopus.com/t/length-of-selected-files/7272
**Category:** Buttons/Scripts
**Created:** [January 7, 2009, 1:28pm UTC](https://resource.dopus.com/t/length-of-selected-files/7272 "2009-01-07T13:28:41Z")
**Posts on this page:** 5
**Page:** 2

<div class="post-metadata">

### Author: ![Roy](https://resource.dopus.com/letter_avatar_proxy/v4/letter/r/4da419/32.png) [@Roy](https://resource.dopus.com/u/Roy)
#### Post date: [July 15, 2021, 4:03pm UTC](https://resource.dopus.com/t/length-of-selected-files/7272/21 "2021-07-15T16:03:55Z")

</div>

Great stuff here - many thanks!

One last question - is there somewhere in this script I can modify to have the count include the extension? The counter I'm dealing with counts the period and extension as part of the filename count, where it seems that this script does not. Not the end of the world to have to add 4 to each number, but if it's configurable, I figure why not get it right whilst tinkering.

Thanks again!

---

<div class="post-metadata">

### Author: ![lxp](https://resource.dopus.com/user_avatar/resource.dopus.com/lxp/32/33734_2.png) [@lxp](https://resource.dopus.com/u/lxp)
#### Post date: [July 15, 2021, 4:08pm UTC](https://resource.dopus.com/t/length-of-selected-files/7272/22 "2021-07-15T16:08:45Z")

</div>

Yes. Replace `name_stem` with `name`.

---

<div class="post-metadata">

### Author: ![Roy](https://resource.dopus.com/letter_avatar_proxy/v4/letter/r/4da419/32.png) [@Roy](https://resource.dopus.com/u/Roy)
#### Post date: [July 15, 2021, 4:46pm UTC](https://resource.dopus.com/t/length-of-selected-files/7272/23 "2021-07-15T16:46:09Z")

</div>

Perfect - thanks!

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [July 15, 2021, 9:45pm UTC](https://resource.dopus.com/t/length-of-selected-files/7272/24 "2021-07-15T21:45:24Z")

</div>

> [@lxp](#):
>
> I am afraid that's not possible (yet).

Correct, not yet. It is on our to-do list as part of an overhaul of the info you can add to the status bar.

---

<div class="post-metadata">

### Author: ![Mosed](https://resource.dopus.com/letter_avatar_proxy/v4/letter/m/6bbea6/32.png) [@Mosed](https://resource.dopus.com/u/Mosed)
#### Post date: [January 25, 2022, 12:31pm UTC](https://resource.dopus.com/t/length-of-selected-files/7272/25 "2022-01-25T12:31:15Z")

</div>

> [@Leo](#):
>
> It is on our to-do list as part of an overhaul of the info you can add to the status bar.

Can you also think about adding a kind of tooltip directly next to the file name during renaming a file?

So, if you use e.g. F2 a counter appears next to the file name and counts the length in realtime. Then it is possible to see the length without moving the eyes between status bar and file name during renaming.

[Previous page](https://resource.dopus.com/t/length-of-selected-files/7272.md?page=1)
