# Can someone write a really simple action for me please?

**URL:** https://community.mp3tag.de/t/can-someone-write-a-really-simple-action-for-me-please/8727
**Category:** Support
**Created:** [August 5, 2009, 3:20pm UTC](https://community.mp3tag.de/t/can-someone-write-a-really-simple-action-for-me-please/8727 "2009-08-05T15:20:54Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![tagzguy](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/77aa72/32.png) [@tagzguy](https://community.mp3tag.de/u/tagzguy)
#### Post date: [August 5, 2009, 3:20pm UTC](https://community.mp3tag.de/t/can-someone-write-a-really-simple-action-for-me-please/8727/1 "2009-08-05T15:20:54Z")

</div>

All of my mp3 files are named as such:

1. Smells Like Teen Spirit
2. In Bloom

etc.

I used the code I found here:

[http://liquidparallax.com/files/actions/Ti...nversion%29.mta](http://liquidparallax.com/files/actions/Title%20Case%20%28It%27s%20a%20Smart%20Conversion%29.mta)

..to edit all my title cases. It works great, but for one problem: it changes some of my filenames to lowercase when they should be upper. For example:

1. in Bloom

Now I understand that the word 'in' is being targeted but I have no idea how to prevent that from happening. Any help would be much appreciated.

---

<div class="post-metadata">

### Author: ![newser](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/b9bd4f/32.png) [@newser](https://community.mp3tag.de/u/newser)
#### Post date: [August 5, 2009, 4:31pm UTC](https://community.mp3tag.de/t/can-someone-write-a-really-simple-action-for-me-please/8727/2 "2009-08-05T16:31:08Z")

</div>

You can try this:

> [@](#):
>
> [#0]  
> T=1  
> F=_TAG  
> 1=1  
> 2=({[]})-_",./+&@:;\*
> 
> [#1]  
> T=4  
> F=\_TAG  
> 1=( a| the| of| for| as| at| an| by| off| on| from| in| to| and| with| or| nor| von| de)\\b  
> 2=$lower($1)  
> 3=0

---

<div class="post-metadata">

### Author: ![tagzguy](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/77aa72/32.png) [@tagzguy](https://community.mp3tag.de/u/tagzguy)
#### Post date: [August 5, 2009, 6:44pm UTC](https://community.mp3tag.de/t/can-someone-write-a-really-simple-action-for-me-please/8727/3 "2009-08-05T18:44:20Z")

</div>

Thanks for the reply newser. Unfortunately, that method didn't work. The first letter following the '02. ' remains in lower case ![:unsure:](https://community.mp3tag.de/uploads/default/original/1X/cfaeba84fe6704387c5b34dfdd8172bd51b6f533.gif ":unsure:")

Basically, what I need is an action that capitalizes the first letter of the first word in each filename but leaves each subsequent word in the filename as is.

So that.. (for example)

1. in the Court of the Crimson King

becomes..

1. **I** n the Court of the Crimson King

I'm sure this is pretty easy but I have very little to zero understanding of the language these actions use.

---

<div class="post-metadata">

### Author: ![newser](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/b9bd4f/32.png) [@newser](https://community.mp3tag.de/u/newser)
#### Post date: [August 5, 2009, 6:53pm UTC](https://community.mp3tag.de/t/can-someone-write-a-really-simple-action-for-me-please/8727/4 "2009-08-05T18:53:48Z")

</div>

Is **01. in the Court of the Crimson King** the filename or the title-tag?  
Includes title-tag the track-number?

---

<div class="post-metadata">

### Author: ![tagzguy](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/77aa72/32.png) [@tagzguy](https://community.mp3tag.de/u/tagzguy)
#### Post date: [August 5, 2009, 7:17pm UTC](https://community.mp3tag.de/t/can-someone-write-a-really-simple-action-for-me-please/8727/5 "2009-08-05T19:17:09Z")

</div>

It's the filename.

All other tags (including titles) are now perfect but the action I used to achieve that has made the first letter of certain filenames lowercase. Any file that begins with 'In', 'The' etc.

What I need is a second action that I can now run that targets the first letter of each filename, capitalizes it, and leaves everything else in the filename as is.

I hope that's possible.

---

<div class="post-metadata">

### Author: ![newser](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/b9bd4f/32.png) [@newser](https://community.mp3tag.de/u/newser)
#### Post date: [August 5, 2009, 7:32pm UTC](https://community.mp3tag.de/t/can-someone-write-a-really-simple-action-for-me-please/8727/6 "2009-08-05T19:32:08Z")

</div>

Ok, then you musst format the filename with the tags.

> [@](#):
>
> [#0]  
> T=1  
> F=_TAG  
> 1=1  
> 2=({[]})-_",./+&@:;\*
> 
> [#1]  
> T=4  
> F=\_TAG  
> 1=( a| the| of| for| as| at| an| by| off| on| from| in| to| and| with| or| nor| von| de)\\b  
> 2=$lower($1)  
> 3=0
> 
> [#2]  
> T=5  
> F=\_FILENAME  
> 1=%track%. %title%
> 
> [#3]  
> T=5  
> F=\_FILENAME  
> 1=%\_filename%.$lower(%\_extension%)

---

<div class="post-metadata">

### Author: ![tagzguy](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/77aa72/32.png) [@tagzguy](https://community.mp3tag.de/u/tagzguy)
#### Post date: [August 5, 2009, 7:37pm UTC](https://community.mp3tag.de/t/can-someone-write-a-really-simple-action-for-me-please/8727/7 "2009-08-05T19:37:04Z")

</div>

Thanks, that worked pretty nicely 🙂

It seems to have added an extra period though, so the filename now looks like:

01. **.** In the Court of the Crimson King

---

<div class="post-metadata">

### Author: ![newser](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/b9bd4f/32.png) [@newser](https://community.mp3tag.de/u/newser)
#### Post date: [August 5, 2009, 7:40pm UTC](https://community.mp3tag.de/t/can-someone-write-a-really-simple-action-for-me-please/8727/8 "2009-08-05T19:40:25Z")

</div>

hm, have you a dot in the track-tag?  
If so, then you only have to remove the dot in this part:

> [@](#):
>
> [#2]  
> T=5  
> F=\_FILENAME  
> 1=%track%. %title%

---

<div class="post-metadata">

### Author: ![tagzguy](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/77aa72/32.png) [@tagzguy](https://community.mp3tag.de/u/tagzguy)
#### Post date: [August 5, 2009, 7:42pm UTC](https://community.mp3tag.de/t/can-someone-write-a-really-simple-action-for-me-please/8727/9 "2009-08-05T19:42:32Z")

</div>

I removed the dot from the action and it now works perfectly. Many thanks newser, much appreciated! 🙂

---

<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:21pm UTC](https://community.mp3tag.de/t/can-someone-write-a-really-simple-action-for-me-please/8727/10 "2026-02-09T12:21:41Z")

</div>


