Adds additional parameters or attributes to an existing Apple event.
- macOS 10.0+
- Core Services
The Apple event to which you are adding parameters. See
A pointer to an
AEBuildstructure where additional information about any errors that occur will be saved. This is an optional parameter and you can pass
NULLif this information is not required. See
AEBuildformat string describing the parameters to be created.
A result code. See Result Codes.
This function can be called more than once to add any desired number of parameters or attributes to an existing Apple event. The Apple event should already have been created through either a call to
This function and related “AEBuild” routines provide a very simple translation service for converting specially formatted strings into complex Apple event descriptors. Normally, creating complex Apple event descriptors requires a large number of calls to Apple event Manager routines to build up the descriptor piece by piece. The
AEBuild function and related routines allow you to consolidate all of the calls required to construct a complex Apple event descriptor into a single system call that creates the desired structure as directed by a format string that you provide.