Launch external tool sequentially


#1

Hi,

I am using the external tool function for some scripting purposes, but when I have multiple files selected and choose the external tool, everything is started all at once. Would it be possible to have an options to process files sequentially? eg. start external tool with first selected file, wait for process to finish, then start external tool with second select file, and so forth.

Thanks,


#2

I also suggested this a while ago.


#3

I have a solution to this

my old way was to use a tool

name: mp3 gain
path : "c:\program files\audio stuff\mp3gain.exe"
parameters "/r /c "%_path%%file"
for all selected sources.

as expected this launched a seperate comand window for each file . this was ok for 10 or so files but for larger groups it was bad.

so I changed to use an export config
called mp3gain.mte

this creates a batch file with a line for each selected file

and then the program asks if I want to view it. when you say yes it opesn the batch file and runs it.

it woks fine for up to about 1000 files.

I tried it last night on 6000 files because I wanted to Regainthem and it crapped out when trying to export the tags ( to create the batch file.)

I am sure tha the same thing could be done with wsh instead of bat. if you were good with wsh (vb, js) you could do some greats stuff.