tried it on a old song and it worked great, but also seemed to delete a few tracks that were in the arrange window.???
Well, that
shouldn't have happened. Off the top of my head, I can't think of any reason why that would have occurred. Anyone else have any ideas?
What you could also do, is utilize the "Save As Project" function. If you did it initially at the start of the song, do it a second time. Then, in the options window, where it says "Unused Audio", select "Leave". That way, any unused audio will remain in the songs original Audio Files folder, while the new version will copy or move only the audio files actually used in the song.
You can then open up the newly saved song, confirm that all audio is present and accounted for, and then go delete the original song folder.
You really shouldn't have to do that, as the "Select Unused" and "Delete files" should work. But "Save As Project" is also an excellent way to archive a song.
How do I do this for Audio Intstrument tracks?
I don't believe there is a similar function for MIDI regions. mainly because of the nature of the content. Generally though, I tend to get rid of that type of thing while working on a track. If I think I don't need a MIDI region any longer, but am not 100% sure, I simply mute it, or move it to a "No Output" track. But once I am sure, I simply delete it.