# Actions question

**URL:** https://community.mp3tag.de/t/actions-question/19257
**Category:** Support
**Created:** [August 21, 2017, 3:58pm UTC](https://community.mp3tag.de/t/actions-question/19257 "2017-08-21T15:58:10Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![tinpanalley](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/48db29/32.png) [@tinpanalley](https://community.mp3tag.de/u/tinpanalley)
#### Post date: [August 21, 2017, 3:58pm UTC](https://community.mp3tag.de/t/actions-question/19257/1 "2017-08-21T15:58:10Z")

</div>

Does anyone know if it's possible to add the autonumbering wizard to an action group?

---

<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: [August 21, 2017, 4:05pm UTC](https://community.mp3tag.de/t/actions-question/19257/2 "2017-08-21T16:05:57Z")

</div>

yes, no, partially.

No, the tracknumbering wizard cannot be called with its full functionality like reset when the folder changes and a starting value.  
Partially: You can use the variable %\_counter% to count the currently selected files in an ascending order.  
So in an action of th type "Format value" for the field in question, you can use a format string like  
Format string: $num(%\_counter%,2)

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [August 21, 2017, 4:12pm UTC](https://community.mp3tag.de/t/actions-question/19257/3 "2017-08-21T16:12:16Z")

</div>

> [@tinpanalley](#):
>
> Does anyone know if it's possible to add the autonumbering wizard to an action group?

No but you can use AutoHotkey to bypass the popup dialog and go with the defaults already set.  
Which requires one less click 😉

1. Install AutoHotkey.
2. Paste below into fresh notepad file and save with the extension **.ahk**
3. Double click file to run the script
4. Use CTRL+N on selected files to renumber (It will apply the defaults settings with were the previous ones).
5. If you want this to load with windows startup: paste file into startup folder... paste the following in bold into WIN+R edit box or address bar in windows **shell:Common Startup**

```
;
; Short-cut: CTRL+N
; TRACK turbo Auto-Renumberererer
;
#IfWinActive ahk_exe Mp3tag.exe
    ^n::
    sleep 200
    SendInput {Ctrl Down}+{k Down}
    Sleep 50
    SendInput {k Up}+{Ctrl Up}
    send, {enter}; This next line auto accepts the AR dialog
    Return
#IfWinActive

```

---

<div class="post-metadata">

### Author: ![tinpanalley](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/48db29/32.png) [@tinpanalley](https://community.mp3tag.de/u/tinpanalley)
#### Post date: [August 21, 2017, 5:23pm UTC](https://community.mp3tag.de/t/actions-question/19257/4 "2017-08-21T17:23:25Z")

</div>

> [@ohrenkino](#):
>
> Partially: You can use the variable %\_counter% to count the currently selected files in an ascending order.  
> So in an action of th type "Format value" for the field in question, you can use a format string like  
> Format string: $num(%\_counter%,2)

This was perfect! Exactly what I was looking for. I only grab one folder at a time anyway, so not being able to recognise new folders is fine.  
Additionally, is there one "master clear" action to wipe any field except ones I choose? Really would help in instances when for some reason a particular song is listed in albums as being different from the rest of the record.

---

<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: [August 21, 2017, 5:33pm UTC](https://community.mp3tag.de/t/actions-question/19257/5 "2017-08-21T17:33:13Z")

</div>

There is an action to remove a set of named fields or a all fields except:  
[https://docs.mp3tag.de/actions/remove-fields](https://docs.mp3tag.de/actions/remove-fields)

---

<div class="post-metadata">

### Author: ![tinpanalley](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/48db29/32.png) [@tinpanalley](https://community.mp3tag.de/u/tinpanalley)
#### Post date: [August 21, 2017, 9:06pm UTC](https://community.mp3tag.de/t/actions-question/19257/6 "2017-08-21T21:06:44Z")

</div>

Cool, thanks. I did try that but despite telling it NOT to clear the %artist% tag, it still does. Strange.

---

<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: [August 22, 2017, 3:05am UTC](https://community.mp3tag.de/t/actions-question/19257/7 "2017-08-22T03:05:00Z")

</div>

> [@tinpanalley](#):
>
> Cool, thanks. I did try that but despite telling it NOT to clear the %artist% tag, it still does. Strange.

Check the expression for typos like the odd artsit or atrist or added blanks follwing the fieldname.  
I mean: if it works for the rest of the fields, why shouldn't it work for ARTIST?

---

<div class="post-metadata">

### Author: ![tinpanalley](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/48db29/32.png) [@tinpanalley](https://community.mp3tag.de/u/tinpanalley)
#### Post date: [August 22, 2017, 3:58am UTC](https://community.mp3tag.de/t/actions-question/19257/8 "2017-08-22T03:58:09Z")

</div>

> [@ohrenkino](#):
>
> I mean: if it works for the rest of the fields, why shouldn't it work for ARTIST?

I know, that's my point. It seems ridiculous but I tried it over and over.

---

<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: [August 22, 2017, 4:02am UTC](https://community.mp3tag.de/t/actions-question/19257/9 "2017-08-22T04:02:45Z")

</div>

> [@tinpanalley](#):
>
> I know, that's my point. It seems ridiculous but I tried it over and over.

Could you then copy and paste the string that you entered as field list here in the forum for more eyes to have a look at it?

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [August 22, 2017, 6:06am UTC](https://community.mp3tag.de/t/actions-question/19257/10 "2017-08-22T06:06:41Z")

</div>

> [@tinpanalley](#):
>
> ... to clear the %artist% tag ... Strange.

Note: a "tag" can be understood as a package, which is shouldered or glued at the beginning or at the end of an existing file.  
Such tag can have an inner structure as of ID3v1 tag or ID3v2.3 tag or ID3v2.4 tag or APE tag or MP4 tag and so on.  
Within a tag-structure the additional descriptive data value is stored into a designated tag-field, e. g. named as ARTIST.

To get a value from a tagfield, Mp3tag offers and applies a special functionality, written as ... %ARTIST%.  
This way the content extractor symbol %ARTIST% delivers the content from the tagfield ARTIST.

You have to be aware of, when in Mp3tag the name of a tag field is meant (e. g. ARTIST), or the content of a tag field is meant (e. g. %ARTIST%).

DD.20170822.1006.CEST

---

<div class="post-metadata">

### Author: ![tinpanalley](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/48db29/32.png) [@tinpanalley](https://community.mp3tag.de/u/tinpanalley)
#### Post date: [August 22, 2017, 12:56pm UTC](https://community.mp3tag.de/t/actions-question/19257/11 "2017-08-22T12:56:01Z")

</div>

> [@ohrenkino](#):
>
> Could you then copy and paste the string that you entered as field list here in the forum for more eyes to have a look at it?

Yup, I was just going to do that. 😉  
This is all I added. The line just deletes all these tags from the tracks even though I'm choosing "Remove fields except".  
%title%;%track%;%artist%;%album%;%year%;%genre%;%comment%

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [August 22, 2017, 1:07pm UTC](https://community.mp3tag.de/t/actions-question/19257/12 "2017-08-22T13:07:33Z")

</div>

> [@tinpanalley](#):
>
> Yup, I was just going to do that. 😉  
> This is all I added. The line just deletes all these tags from the tracks even though I'm choosing "Remove fields except".  
> %title%;%track%;%artist%;%album%;%year%;%genre%;%comment%

It has to be:  
TITLE;ARTIST; .....

Have a look at the help-file.

---

<div class="post-metadata">

### Author: ![tinpanalley](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/48db29/32.png) [@tinpanalley](https://community.mp3tag.de/u/tinpanalley)
#### Post date: [August 23, 2017, 10:43pm UTC](https://community.mp3tag.de/t/actions-question/19257/13 "2017-08-23T22:43:41Z")

</div>

> [@poster](#):
>
> It has to be:  
> TITLE;ARTIST; .....
> 
> Have a look at the help-file.

...aha! So it does. Worked. 🙂  
A keyboard shortcut would be great now for ULTIMATE laziness. 😃

---

<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: [August 24, 2017, 3:30am UTC](https://community.mp3tag.de/t/actions-question/19257/14 "2017-08-24T03:30:23Z")

</div>

> [@tinpanalley](#):
>
> ...A keyboard shortcut would be great now for ULTIMATE laziness.

see [/t/15737/1](https://community.mp3tag.de/t/15737/1)

---

<div class="post-metadata">

### Author: ![tinpanalley](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/48db29/32.png) [@tinpanalley](https://community.mp3tag.de/u/tinpanalley)
#### Post date: [August 25, 2017, 1:55am UTC](https://community.mp3tag.de/t/actions-question/19257/15 "2017-08-25T01:55:32Z")

</div>

> [@ohrenkino](#):
>
> see [/t/15737/1](https://community.mp3tag.de/t/15737/1)

Hmm.. I tried that. Doesn't seem to work. Alt-6 just brings up the Action menu and then the letter I chose does nothing.

---

<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: [August 25, 2017, 3:52am UTC](https://community.mp3tag.de/t/actions-question/19257/16 "2017-08-25T03:52:06Z")

</div>

> [@tinpanalley](#):
>
> Hmm.. I tried that. Doesn't seem to work. Alt-6 just brings up the Action menu and then the letter I chose does nothing.

And how did you call the action?

---

<div class="post-metadata">

### Author: ![tinpanalley](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/48db29/32.png) [@tinpanalley](https://community.mp3tag.de/u/tinpanalley)
#### Post date: [August 25, 2017, 11:15am UTC](https://community.mp3tag.de/t/actions-question/19257/17 "2017-08-25T11:15:37Z")

</div>

> [@ohrenkino](#):
>
> And how did you call the action?

I called it "&Full Tag"  
So Alt-6-F doesn't seem to respond the correct way.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [August 25, 2017, 11:24am UTC](https://community.mp3tag.de/t/actions-question/19257/18 "2017-08-25T11:24:44Z")

</div>

> [@tinpanalley](#):
>
> Hmm.. I tried that. Doesn't seem to work. Alt-6 just brings up the Action menu and then the letter I chose does nothing.

Take Alt-a instead of Alt-6.

---

<div class="post-metadata">

### Author: ![tinpanalley](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/48db29/32.png) [@tinpanalley](https://community.mp3tag.de/u/tinpanalley)
#### Post date: [August 25, 2017, 4:29pm UTC](https://community.mp3tag.de/t/actions-question/19257/19 "2017-08-25T16:29:53Z")

</div>

> [@poster](#):
>
> Take Alt-a instead of Alt-6.

That worked. Brilliant.  
Plus I've learned a lot through you about how to generate my own commands by studying yours. I'm currently trying to build one that can copy only the folder name that music is in, not the whole path, and use it verbatim as Album title.

---

<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:26pm UTC](https://community.mp3tag.de/t/actions-question/19257/20 "2026-02-09T12:26:57Z")

</div>


