There are two ways.. one of which I have done.
1) Use pure AppleScript. You can set the input of blank disk to run an AppleScript. Within AppleScript you can initiate a burn of a set of files (or disk image) on the blank disk and eject.
2) Use AppleScript and Unix. There is a unix command to burn disks and this is the one I got to work with AppleScript. So, insert a blank CD, it starts AppleScript. In AppleScript you do unix command to burn CD and eject. Rinse and repeat.
I found most the information in the Apple discussion boards.
BZ