<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Scripting Bridge",
  "identifier" : "/documentation/ScriptingBridge/SBApplication/timeout",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Scripting Bridge"
    ],
    "preciseIdentifier" : "c:objc(cs)SBApplication(py)timeout"
  },
  "title" : "timeout"
}
-->

# timeout

The period the application will wait to receive reply Apple events.

```
var timeout: Int { get set }
```

## Discussion

For more information, see
<doc://com.apple.documentation/documentation/applicationservices/apple_event_manager>.

The default timeout value is
<doc://com.apple.documentation/documentation/coreservices/1542814-timeout_constants/kaedefaulttimeout>,
which is about a minute. If you want the receiver to wait indefinitely for
reply Apple events, use
<doc://com.apple.documentation/documentation/coreservices/1542814-timeout_constants/knotimeout>.
For more information, see
<doc://com.apple.documentation/documentation/applicationservices/apple_event_manager>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)