Export (0) Print
Expand All

2.2.2.2 Script Format

A script is a set of instructions that are processed by using data collected by the template to produce a new e-mail address. The PidTagScriptData property ([MS-OXPROPS] section 2.976) in the PropertyRow_r structure, as specified in [MS-NSPI] and [MS-OXNSPI] section 2.2.3, is a binary property that contains the information listed in the following table.

Parameter name

Type

Size

Description

Size

DWORD

4

This parameter SHOULD<3> be included. Specifies the number of DWORD types of script data that follow.

ScriptData

DWORD Array

Varies

Specifies a series of instructions and the data that accompanies them, as specified in sections 2.2.2.2.1 through 2.2.2.2.10.

This binary script data contains a series of instructions that can be executed to format an address and the data that is needed to execute those instructions. The first DWORD type contains the number of DWORD types of instructions, "N". The next N DWORD types are the instructions. The data that is referenced by the instructions immediately follows the instructions.

The script is used to create a string that contains the e-mail address from the data gathered from the dialog that was created from the template. To process the script, begin at the first DWORD type of ScriptData and process each instruction in turn. The result of the script is the result string. The result string MUST initially be empty and various instructions will append data to it. This string is the object's e-mail address and MUST only be used if the script does not end in error.

The instructions are specified in the following sections.

Show:
© 2014 Microsoft