IPB

Welcome Guest ( Log In | Register )

> Notice!

Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.

Also make sure you've read the Forum Guidelines before posting in this forum.

 
Reply to this topicStart new topic
> Double and Triple action to execute a .bat or similiar??
kittmaster
post Aug 15 2012, 18:55
Post #1


Member


Group: Full Members
Posts: 81
Joined: 14-September 10
From: Providence RI
Member No.: 12931
Mp3tag Version: 2.52



I've written a .bat file to deal with the cover exports of the garbage I don't want. I want to know if its possible to write an action on file location that it dumps to.

I export to C:\foo

my nine tracks have dumped 15 images (some tracks have 2 images others only 1).

Then I copy and paste this .bat file to clean it up:

del *-MEDIA.jpg
del *-LEAFLET.jpg
del *-BACK COVER.jpg
del *-OTHER.jpg
del *-MEDIA(1).jpg
del *(1).jpg
del *(2).jpg
del *(3).jpg
del *(4).jpg
del *(5).jpg
del *(1).png
del *(2).png
del *(3).png
del *(4).png
del *(5).png
del *(1).gif
del *(2).gif
del *(3).gif
del *(4).gif
del *(5).gif

Is there an action that can simulate this functionality so that when I run the action > export cover to file > I can have an automatic action do the above on the folder to do my clean up? Or something similar?

thanks

Chris




Go to the top of the page
 
+Quote Post
JJ Johnson
post Aug 15 2012, 19:32
Post #2


Member


Group: Full Members
Posts: 890
Joined: 18-April 05
Member No.: 1742
Mp3tag Version: 2.65



You can execute your batch file from within Mp3tag and pass it the relevant directory path. See the Mp3tag Help page on Tools and then Options > Tools to configure it.

If you make it the default tool, then it can be executed with a simple double-click. Otherwise, you execute a tool using the context (right-click) menu.
Go to the top of the page
 
+Quote Post
kittmaster
post Aug 15 2012, 20:14
Post #3


Member


Group: Full Members
Posts: 81
Joined: 14-September 10
From: Providence RI
Member No.: 12931
Mp3tag Version: 2.52



I see how those work, and thought about them, I'd rather have a way to cascade several actions so its a one click action of :

Export covers to file:

1. Exports all covers

2. Removes all (1).jpgs

3. etc until done

That .bat is fine, but would like to simply the process if possible.

The double clicking thing I do all the time by accident, so that won't work.....LOL

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th October 2014 - 15:32