<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSpeechSynthesizer/SpeechPropertyKey/commandDelimiter",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSSpeechCommandDelimiterProperty"
  },
  "title" : "commandDelimiter"
}
-->

# commandDelimiter

Set the embedded speech command delimiter characters to be used for the synthesizer.

```
static let commandDelimiter: NSSpeechSynthesizer.SpeechPropertyKey
```

## Discussion

A dictionary object that contains the delimiter information. By default, the opening delimiter is “[[” and the closing delimiter is “]]”. Your application might need to change these delimiters temporarily if those character sequences occur naturally in a text buffer that is to be spoken. Your application can also disable embedded command processing by passing empty delimiters (as empty strings). See [`NSSpeechSynthesizer.SpeechPropertyKey.CommandDelimiterKey`](/documentation/AppKit/NSSpeechSynthesizer/SpeechPropertyKey/CommandDelimiterKey) for the keys you can use to specify values in this dictionary.

This property works with [`setObject(_:forProperty:)`](/documentation/AppKit/NSSpeechSynthesizer/setObject(_:forProperty:)).

---

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)