AESend (Macintosh)

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 Boolean (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.
Want reply determines whether the target application waits asynchronously for a response from the application until the VI receives a response or until a timeout occurs (TRUE), or sends the AppleEvent and does not wait for a reply (FALSE). The default is TRUE.
High priority determines whether the AppleEvent is added to the beginning of the target application event queue (TRUE) or the end (FALSE). The default is FALSE.
interaction mode indicates the level of user interaction of the target application.

0Never Interact—Do not interact with the user.
1Allow Interaction—(Default) Interact with the user only if the target application needs information.
2Always Interact—Interact with the user even if the target application does not need information.
Server may come to foreground determines whether the application appears in the foreground if it requires user interaction. The default is TRUE, which automatically switches the application to the foreground. If FALSE, the application icon flashes in the menu bar to notify the user.
Don't try to reconnect determines whether the system should try to reconnect if it is disconnected. The default is FALSE, which attempts to reconnect.
transaction ID is a number associated with a sequence of AppleEvents. If you need to send multiple AppleEvents related to a single transaction, use the same number throughout the transaction. The default is 0.
timeout ticks indicates how long in ticks (1/60 of a second) LabVIEW waits for a reply before timing out if want reply is TRUE. Use a value of 0 if you do not want a timeout. The default is 600 ticks, or 10 seconds.
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 condition from the VI.