---
title: "commandDescriptions(inSuite:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsscriptsuiteregistry/commanddescriptions(insuite:)"
---

# commandDescriptions(inSuite:)

Returns the command descriptions contained in the suite identified by suiteName.

## Declaration

```swift
func commandDescriptions(inSuite suiteName: String) -> [String : NSScriptCommandDescription]?
```

## Discussion

Discussion Each command description (instance of NSScriptCommandDescription) in the returned dictionary is identified by command name.

## See Also

### Getting and Registering Command Descriptions

- [commandDescription(withAppleEventClass:andAppleEventCode:)](foundation/nsscriptsuiteregistry/commanddescription(withappleeventclass:andappleeventcode:).md)
- [register(_:)](foundation/nsscriptsuiteregistry/register(_:)-5mq91.md)
