Objective:
- Using script statements
Each AE Scripting line commences with a script statement (except for JCL and comments).
Script statements are AE Script elements that start with a colon (:) and are shown in blue in the UserInterface's script editor. They are often used in combination with a value assignment.
For example, the script element :PRINT is a script statement (see lesson 1).
Another example of a script statement is :SEND_MSG. It sends a message to a particular AE user. This message is then displayed in the Message Window.
For example:
: SEND_MSG "GREEN","EDP","Please start backup process."
You can use the script statement :PUT_ATT in order to change the attributes of the object in which a script element is used. The following scripting line sets the attribute "accounts" (for example, in the Attributes tabof a Script object):
: PUT_ATT INT_ACCOUNT="Accounts"