DropScript is one of my favorite hacks. It's an application for Mac OS X which lets you create new applications from any BSD program which takes files as command line arguments. Typically, these are scripts written in sh, perl, etc.
This is a shell script that automates the process of creating a disk image. Works well, though this version doesn't offer any options; it only creates read-only HFS+ images.