I have some files. wav in the object window, how can I save them automatically?
I found this script but I get an error:
directoryName$ = chooseDirectory$: "Choose a directory to save all the new files in"
if directoryName$ <> ""
for i to numberOfSelectedSounds
selectObject: sound [i]
Save as WAV file: directoryName$ + "/sound" + string$ (i) + ".wav"
endfor
endif