Say you've started watching a new anime with a great OP or ED song that you'd like to listen to regularly, but the single for it isn't going to be released until weeks, maybe even months later. (Yes, this is related to the previous post.) What do you do?
If the subber included decent chapters in the MKV file, you could just open the episode, minimize it, and skip directly to the OP or ED through the Haali Splitter tray icon. But that's a pain if you want to listen to it on loop for a bit, since they're generally only 1:30 long.
The solution is to trim out only the section of the audio you want and save it separately. And hey, mkvmerge can even split it losslessly so you don't have to re-encode. But extracting the audio with mkvextract GUI, finding the timecodes to split it at, splitting twice with mkvmerge GUI to cut out the section you want, again extracting the audio from the split file with mkvextract GUI, and (if it's AAC) muxing it into an MP4 with Yamb is also a pain.
I got sick of doing all that so I wrote a batch script to do most of it for me. Now all I have to do is write a simple AviSynth script with the trim() function selecting the frames for the OP or ED, then drag and drop it onto the batch file.