---
title: commandClassName
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsscriptcommanddescription/commandclassname
---

# commandClassName

Returns the name of the class that will be instantiated to handle the command.

## Declaration

```swift
var commandClassName: String { get }
```

## Return Value

Return Value The Objective-C class name (for example, "NSGetCommand"). This is always NSScriptCommand or a subclass.

## See Also

### Getting Basic Information About the Command

- [appleEventClassCode](foundation/nsscriptcommanddescription/appleeventclasscode.md)
- [appleEventCode](foundation/nsscriptcommanddescription/appleeventcode.md)
- [commandName](foundation/nsscriptcommanddescription/commandname.md)
- [suiteName](foundation/nsscriptcommanddescription/suitename.md)
