Automation Engine Script Guide > Introduction > Advanced Users > Using Variable Objects

 Using Variable Objects

Values can be stored in script variables and also in static Variable objects. Especially when there are lots of values, Variable objects provide a very comfortable way of storing them. AE Script offers several script elements that can be used to store, read or delete values in Variable objects.

Values always go together with a key through which access to the particular value is provided.

Variable objects can either be handled manually in the Explorer of the UserInterface or by using the following script elements:

Loading with Values

Use the script statement :PUT_VAR to store values. If the validity key does not yet exist, the new value is added to the Variable object. Otherwise, the existing value is replaced.

Reading Values

The script functions PREP_PROCESS_VAR and PREP_PROCESS_VAR_XML can be used to retrieve particular, several or all values that are stored in a Variable object.

Deleting Values

The script statement :DELETE_VAR removes values from a Variable object.