A couple scripting options come to mind:
EPPy (Python)
Params (Ruby)
Also, there's an OpenStudio Prototype Building measure under development.