Extract Metadata.

Extract Metadata is a tool to extract database object into SQL Script. Here is an example of Extract Metadata dialog:

Extract Metadata dialog contains two lists of objects - "All Objects" and "Selected Objects". To get SQL Script you should select some object in the left list, move them to the right using toolbar buttons or context menu and click "Generate Script" button.

If you need to repeat extraction in the future you may use Schemes to store your selection and extract options. Just type any name in the "Schemes" line and click "Save" button. To load your scheme next time just select it from the drop-down list.