# "Actions" variable questions

**URL:** https://community.mp3tag.de/t/actions-variable-questions/44032
**Category:** Support
**Created:** [December 27, 2018, 2:23am UTC](https://community.mp3tag.de/t/actions-variable-questions/44032 "2018-12-27T02:23:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![wallywalters](https://community.mp3tag.de/user_avatar/community.mp3tag.de/wallywalters/32/5730_2.png) [@wallywalters](https://community.mp3tag.de/u/wallywalters)
#### Post date: [December 27, 2018, 2:23am UTC](https://community.mp3tag.de/t/actions-variable-questions/44032/1 "2018-12-27T02:23:29Z")

</div>

Is there a variable in Actions that can return the numerical place of a given song in a list of songs?

Also, how can I prepend the %track% variable with a number and a dash (like "02-") in an Action (to indicate, for example, the disc number in a multi-disc set)?

Thank you.

---

<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 27, 2018, 9:31am UTC](https://community.mp3tag.de/t/actions-variable-questions/44032/2 "2018-12-27T09:31:29Z")

</div>

> [@wallywalters](#):
>
> variable in Actions that can return the numerical place of a given song in a list of songs

there is the variable %\_counter% that counts each file in a set of selected files.

> [@wallywalters](#):
>
> Also, how can I prepend the %track% variable with a number and a dash (like "02-")

see the FAQs: [Actions and batch-operations - #5 by dano](https://community.mp3tag.de/t/actions-and-batch-operations/967/5)

Yet, I would not do that as the field TRACK is defined as being numeric with the exception of the / to separate the total number.

---

<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: [February 9, 2026, 12:27pm UTC](https://community.mp3tag.de/t/actions-variable-questions/44032/3 "2026-02-09T12:27:50Z")

</div>


