DropDMG AppleScripts

There are also scripts for other applications.

Create Disk Image
Demonstrates how to create a disk image using AppleScript.
Burn to Disc
Demonstrates how to burn discs using AppleScript.