Custom Variables

Custom variables are not built into AutoPlay Media Studio—instead, they're created whenever you specify a new variable name to receive the result of an action.

For example, when you use a "Registry - Get Value Data" action to retrieve a value from the Registry, you specify the name of a custom variable that will "receive" the value from the Registry at run time. Simply provide a new name for the variable, and presto! A new custom variable is born.

If you provide the name of a variable that already exists, then the result of the "Registry - Get Value Data" action will simply overwrite the value that is in the variable when the action is performed.

Custom variables can be used to receive user input, such as the user's email address or phone number. They can also be used to receive information from the Registry or INI files, such as the path where a given software component is installed on the user's system. For instance, you would use a custom variable when you query the Registry for information that was put there by another application.

Next: Design-time Constants