<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSScriptCommand/commandDescription",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSScriptCommand(py)commandDescription"
  },
  "title" : "commandDescription"
}
-->

# commandDescription

Returns the command description for the command.

```
var commandDescription: NSScriptCommandDescription { get }
```

## Discussion

Once a command is created, its command description is immutable.

## See Also

[`wellFormed`](/documentation/Foundation/NSScriptCommand/isWellFormed)

Returns a Boolean value indicating whether the receiver is well formed according to its command description.



---

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)