# Action to get number

**URL:** https://community.mp3tag.de/t/action-to-get-number/51032
**Category:** Support
**Created:** [December 3, 2020, 8:16pm UTC](https://community.mp3tag.de/t/action-to-get-number/51032 "2020-12-03T20:16:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Romano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/romano/32/7465_2.png) [@Romano](https://community.mp3tag.de/u/Romano)
#### Post date: [December 3, 2020, 8:16pm UTC](https://community.mp3tag.de/t/action-to-get-number/51032/1 "2020-12-03T20:16:07Z")

</div>

is there an action to auto number the songs?  
i have an action group, but it lacks that.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [December 3, 2020, 8:19pm UTC](https://community.mp3tag.de/t/action-to-get-number/51032/2 "2020-12-03T20:19:46Z")

</div>

there is the special variable %\_counter% that returns an ascending number sequence for each of the currently selected files.  
It does not quite work like the track numbering assistant as there is no trigger to reset the counter.  
use %\_counter% in a format string, e.g. an action of the type "Format value".

---

<div class="post-metadata">

### Author: ![Romano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/romano/32/7465_2.png) [@Romano](https://community.mp3tag.de/u/Romano)
#### Post date: [December 3, 2020, 8:42pm UTC](https://community.mp3tag.de/t/action-to-get-number/51032/3 "2020-12-03T20:42:38Z")

</div>

Thank you that worked very nice.  
 ![](https://community.mp3tag.de/uploads/default/original/2X/8/875a3f321b56ae4afe9c08579120e04139262a39.png)

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [January 2, 2021, 8:42pm UTC](https://community.mp3tag.de/t/action-to-get-number/51032/4 "2021-01-02T20:42:41Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
