Provides a pretty printer facility for displaying the contents of Apple event descriptors.
- macOS 10.0+
- Core Services
A pointer to a descriptor containing the information to be printed. See
A pointer to a location for a new
Handledata type. On return, contains a new handle allocated by the Memory Manager.
A result code. See Result Codes.
The data handle returned in the
result parameter contains a text string formatted using the “AEBuild” syntax. This string is useful for looking at the contents of Apple events sent by other applications and for debugging your own descriptors.
AEPrint prints the contents of
AEDesc descriptors in a format that is suitable for input to
AEPrint also attempts display coerced Apple event records as the coerced record type instead of as the original type. Any data structures that cannot be identified are displayed as hexadecimal data.
AEPrint prints the contents of Apple events in a slightly different format. For these events, the event class and event ID appear at the beginning of the output string, followed by the contents of the event enclosed in curly braces. In addition, each attribute is printed with its four-character identifier and preceded by an ampersand character. You cannot use the output string to recreate the Apple event from