# Create Action That Only Works On Specified File Types

**URL:** <https://community.mp3tag.de/t/create-action-that-only-works-on-specified-file-types/48596>\
**Category:** Support\
**Created:** [April 16, 2020, 4:06pm UTC](https://community.mp3tag.de/t/create-action-that-only-works-on-specified-file-types/48596 "2020-04-16T16:06:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sillypsybin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/48db29/32.png) [@Sillypsybin](https://community.mp3tag.de/u/Sillypsybin)\
**Post date:** [April 16, 2020, 4:06pm UTC](https://community.mp3tag.de/t/create-action-that-only-works-on-specified-file-types/48596/1 "2020-04-16T16:06:20Z")

</div>

Is it possible to create an action that would only work on specific file types? For instance, exporting album art from files with .m4a extensions only (ignoring .mp3, .wav, etc.). I know I can accomplish this manually. Just wondering if there's a way to fully automate the task. Thanks!

---

<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:** [April 16, 2020, 4:58pm UTC](https://community.mp3tag.de/t/create-action-that-only-works-on-specified-file-types/48596/2 "2020-04-16T16:58:28Z")

</div>

The easiest way would still be to filter for such conditions.

Then as rule of thumb: you can do that for almost any action that allows a format string unless the format string describes a mandatory parameter. A filename would be a mandatory parameter.  
Having a particular field or not is not mandatory, so that should work.  
You would have to repeat the condition in every format string.  
So I still think that the filter is the easier way.

---

<div class="post-metadata">

**Author:** ![Sillypsybin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/48db29/32.png) [@Sillypsybin](https://community.mp3tag.de/u/Sillypsybin)\
**Post date:** [April 16, 2020, 5:36pm UTC](https://community.mp3tag.de/t/create-action-that-only-works-on-specified-file-types/48596/3 "2020-04-16T17:36:40Z")

</div>

Ok, that is helpful. I hadn't thought about using the filter. That should make the task easier. Thank you!

---

<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:** [May 16, 2020, 5:36pm UTC](https://community.mp3tag.de/t/create-action-that-only-works-on-specified-file-types/48596/4 "2020-05-16T17:36:53Z")

</div>

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