---
title: sendMode
framework: Scripting Bridge
role: symbol
role_heading: Instance Property
platforms: [Mac Catalyst 13.0+, macOS 10.5+]
path: scriptingbridge/sbapplication/sendmode
---

# sendMode

The mode for sending Apple events to the target application.

## Declaration

```swift
var sendMode: AESendMode { get set }
```

## Discussion

Discussion For more information, see Apple Event Manager. The default send mode is kAEWaitReply. If the send mode is something other than kAEWaitReply, the receiver might not correctly handle reply events from the target application.

## See Also

### Controlling the Application

- [activate()](scriptingbridge/sbapplication/activate().md)
- [isRunning](scriptingbridge/sbapplication/isrunning.md)
- [launchFlags](scriptingbridge/sbapplication/launchflags.md)
- [timeout](scriptingbridge/sbapplication/timeout.md)
