# Apply action to multiple/all fields?

**URL:** https://community.mp3tag.de/t/apply-action-to-multiple-all-fields/60036
**Category:** Mac
**Created:** [February 12, 2023, 5:30am UTC](https://community.mp3tag.de/t/apply-action-to-multiple-all-fields/60036 "2023-02-12T05:30:39Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ngervae](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ngervae/32/13253_2.png) [@ngervae](https://community.mp3tag.de/u/ngervae)
#### Post date: [February 12, 2023, 5:30am UTC](https://community.mp3tag.de/t/apply-action-to-multiple-all-fields/60036/1 "2023-02-12T05:30:40Z")

</div>

Is there a way to indicate that an action should apply to multiple fields? I've found \_ALL in the docs, but I'm wondering if I can specify multiple particular fields. I tried something like "TITLE, ARTIST" but it didn't do anything.

---

<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: [February 12, 2023, 7:03am UTC](https://community.mp3tag.de/t/apply-action-to-multiple-all-fields/60036/2 "2023-02-12T07:03:12Z")

</div>

> [@ngervae](#):
>
> an action should apply to multiple fields

I find this a little theoretical - a real example would be helpful.  
Here is a thread for the WIndows version that deals with the same action for several fields:

> [@Specifying Multiple Fields for an Action](https://community.mp3tag.de/t/specifying-multiple-fields-for-an-action/19583):
>
> Back 2011, somebody ask if it's possible to specify multiple tags for an action and somebody replied it's not possible at the time. Is this possible now in 2017? If yes, how can I do it? I tried fields,field2 as an example and it wouldn't work. It's possible I'm using the the wrong delimeter (looked for examples on the mp3tag website and can't find it). It's also possible that this feature is still not available. Thanks

Please note that the Windows action "Guess value" is called "Import tag fields" on the Mac.

---

<div class="post-metadata">

### Author: ![ngervae](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ngervae/32/13253_2.png) [@ngervae](https://community.mp3tag.de/u/ngervae)
#### Post date: [February 12, 2023, 7:09am UTC](https://community.mp3tag.de/t/apply-action-to-multiple-all-fields/60036/3 "2023-02-12T07:09:26Z")

</div>

Thank you. Here is a very simple example: I would like to convert hyphens to slashes in the title, artist, album, and album artist fields. I can do that by manually creating a bunch of otherwise identical actions, but it would be much more convenient to have one action that applies to multiples fields. Especially if I ever have to change the action!

---

<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: [February 12, 2023, 7:22am UTC](https://community.mp3tag.de/t/apply-action-to-multiple-all-fields/60036/4 "2023-02-12T07:22:14Z")

</div>

> [@ngervae](#):
>
> I would like to convert hyphens to slashes in the title, artist, album, and album artist fields

That is exactly the case as described in the linked thread: use the scripting function $replace() as shown there, appended by the fields that you want to treat.  
Stil I doubt that the action in itself makes so much sense.  
Groups like 3-O-Matic probably don't want to appear as 3/O/Matic, or Abba-esque as Abba/esque.  
Olivia Newton-John would become Olivia Newton/John ...  
20 - 20 by the Beach boys would become 20 / 20,  
80 - 81 by Pat Metheny 80 / 81  
The album B-52's by the B-52's ...  
The Beatles with the blue and red album would be 1962/1966 and 1967/1970 which I would consider to be a different statement than 1962-1966 and 1967-1970.  
In title "Re-Recorded" would become Re/Recorded ...  
If at all, I think that such an action would have to be applied with utmost care.

---

<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: [March 14, 2023, 7:22am UTC](https://community.mp3tag.de/t/apply-action-to-multiple-all-fields/60036/5 "2023-03-14T07:22:25Z")

</div>

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