Resources for writing custom scripts for Toad Data Modeler can be found in the Toad Help files and in ToadWorld.
- Toad Data Modeler Scripting and Customization forum
- TDM Help doc under Projects and Models | Scripting and Customization
Another useful thing when figuring out scripting is the Expert Mode menu | Reference Guide. To enable "Export Mode" menu, go to Settings | Options | General -- enable "Expert Mode".