24.12.2012 Views

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

AUTOMATING <strong>ER</strong>/STUDIO ><br />

The table below describes the options and functionality available on the Add/Remove Macros dialog box:<br />

Option Description<br />

Available Macros Lists all Macros available to set in the shortcut menu.<br />

Selected Macros Displays macros currently on the shortcut menu.<br />

Add or remove macros<br />

1 Click Macro Shortcuts > Add/Remove Macro Shortcuts.<br />

2 In the Available Macros box, click the target macros and then click the right-arrow.<br />

TIP: You can double-click any macro to add or remove it.<br />

3 To remove a Macro, in the Selected Macros box, click the target macros and then click the left-arrow.<br />

NOTE: You can only select up to ten macros. If you try to select more than ten, <strong>ER</strong>/<strong>Studio</strong> returns an error.<br />

You must remove some macros before you can add new ones.<br />

4 When you are finished adding or removing macros, click OK.<br />

See Also<br />

Related Topics<br />

Using the SAX Basic Macro Editor<br />

You can write and execute automation scripts using the Macro Editor. The <strong>ER</strong>/<strong>Studio</strong> Macro language consists of the<br />

SAX BASIC language extended with <strong>ER</strong>/<strong>Studio</strong> object types. SAX BASIC is very similar to Visual Basic but there are<br />

some differences, so be sure to note the differences described in the Automation Interface Reference.<br />

To launch the Basic Macro Editor, click Tools > Basic Macro Editor.<br />

NOTE: You can have a maximum of nine macro editor instances open at one time.<br />

Code Auto-Completion<br />

You can save time typing code using the context-sensitive editing assistant. Use the short cut menus and pop-up<br />

menus to help you write macros. When you start the Macro Editor, a reference to the <strong>ER</strong>/<strong>Studio</strong> library is automatically<br />

set and then you can use the menus to complete regular expressions and so on. The Editor offers the menus and<br />

pop-ups while you write your code. Where a choice must be made, the Editor either gives you a list of choices or the<br />

necessary syntax.<br />

EMBARCAD<strong>ER</strong>O TECHNOLOGIES > <strong>ER</strong>/STUDIO® 8.0.3 US<strong>ER</strong> GUIDE 313

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!