Owning Palette: Low Level Apple Events VIs
Requires: Base Development System (Mac OS X)
Sends an Apple event to a target application.
|requested reply parameters describes the reply parameters you want. Each element should be an eight-character string. The first four characters are the keyword for the reply parameter. For example, ---- as a keyword specifies the direct object, or default parameter. The second four characters are the type of the parameter. For example, bool means the parameter is a Boolean value (TRUE or FALSE).|
|Event Class and ID is an eight-character string containing two four-character substrings. The first four characters indicate the event class. For example, you can use aevt for the Required Suite, or core for the Core Suite. The second four characters indicate the event ID. For example, you can use odoc for Open Document, or quit for Quit.|
|parameters is an array of AppleEvent descriptor strings for the arguments sent in the AppleEvent. The first four characters of each string are the keyword for the parameter. For example, the primary argument is called the direct object and always has the four-character keyword ----. The descriptor string for that parameter follows the first four characters.|
|target ID describes the target application and its location. Most VIs that send Apple events need a description of the target application that receives the Apple event.|
|send options indicates whether the target application can interact with the user and the length of the Apple event timeout. Many of the VIs that send an Apple event have a send options input.
|reply parameters corresponds to requested reply parameters. Each string in this array is a descriptor string for the reply parameter returned by the target application.|
|error string describes error information.|
|error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.|