Information Center

Specifying a parameter list for a macro

Tip For a detailed treatment of this topic see Passing a parameter list to a macro in the Macro Programming Guide (primarily for system administrators and macro writers).

What is a parameter list?

Some macros allow you to specify a parameter list when you play the macro. The parameter list can be required or optional.

A parameter list is a set of values that tell the macro how to perform its work. For example, a macro named FileDownload could expect you to specify a parameter list containing the following two values:

Depending on the macro, you could specify the parameter list as follows: strRemoteFile="NewData.123", strLocalFile="MyData.123"

What parameters should you specify?

Each macro's parameter list is different. Either your system administrator or the author of the macro should provide you with instructions and examples for specifying the parameter list.

You can check the macro's Description field to see if it contains a description of a parameter list. To check the macro's Description field, open the Macro Properties window from one of the following windows:

The format of a parameter list

This section briefly describes the format of a parameter list. For more detailed information see Format of a parameter list in the Macro Programming Guide (primarily for system administrators and macro writers).

The pattern of a parameter list for a macro is:

name1="value1", name2="value2", name3="value3", ... For example, strRemoteFile="NewData.123", strLocalFile="MyData.123"

Format rules:

Related topics

  • Passing a parameter list to a macro in the Macro Programming Guide