![]() ![]() |
May 6 2012, 23:22
Post
#1
|
|
![]() Member Group: Full Members Posts: 18 Joined: 5-December 11 From: Florida, US Member No.: 15682 Mp3tag Version: 2.51 |
Hello to all those scripting gurus out in MP3Tag land! I am hoping that someone will be able to help me with directions....
I am hoping there is a way to trigger an action based on criteria of one field and then update another field. For example: Field CHECKDIGIT -- possible values -- 0, 1, 2, 3, 4 or 5 Depending on value of CHECKDIGIT I want to update the DESCRIPTION field with a value. So basically, Select Case CHECKDIGIT Case 0 DESCRIPTION = "This Value" Case 1 DESCRIPTION = "A different Value" ... End Select What I am trying to do is find a way to fully automate some actions that I have ... Changing ARTISTS names to Last, First, moving The in ARTIST name to the end, etc. Right now I have what I named 'Master Format' that has about 30 separate actions in it but I can not find a way to incorporate what I described above. I thought about nested $if() statements but alas have been unable to get that to work with the regexp for the field adjustments. So, since I know there is really no such thing in the MP3Tag scripting language for the Select...Case statement does anyone know of a way that I can accomplish this? Oh, and one final question ... is there a way to have an action trigger a script?? |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 26th May 2013 - 10:35 |