Macro tab
For the purpose of getting you acquainted with the AME, this section consists of a very simple comparison between the Macro tab of the AME and the <HAScript> element described in the previous section.
The AME has four tabs: Macro, Screens, Links, and Variables. The first tab, the Macro tab, corresponds very closely to the <HAScript> element. In fact, the Macro tab is the graphical user interface for some of the information that is stored in the attributes of the begin tag of the <HAScript> element.
Therefore, as the <HAScript> element is the master element of a macro script and contains in its attributes information that applies to the entire macro (such as the macro description), similarly the Macro tab is the first tab of the AME and provides access to some of the same global information.
![The Macro tab of the Advanced Macro Editor](mb_hame_macro_tab.gif)
The Macro Name field
contains the name that you assign to the macro. This is the same name
that you will select when you want to edit the macro or run the macro.
Macro names are case-sensitive. For example, macro_1
is
a different name than Macro_1
, MACRO_1
, and
so on.
The Use Variables and Arithmetic Expressions In Macro check box determines whether the macro object uses the basic macro format or the advanced macro format for this macro. In the figure above this check box is not selected, indicating that the basic macro format will be used (see Basic and advanced macro format).
<HAScript
name="macro_1"
description=" "
timeout="60000"
pausetime="300"
promptall="true"
author=""
creationdate=""
supressclearevents="false"
usevars="false"
ignorepauseforenhancedtn="false"
delayifnotenhancedtn="0">
...
</HAScript>
usevars="false"
)
corresponds to the Use Variables and Arithmetic
Expressions check box on the Macro tab. A
sample <HAScript> element has additional attributes that are
not displayed in Macro tab of the AME.