---
title: AMWorkspace
framework: automator
role: symbol
role_heading: Class
path: automator/amworkspace
---

# AMWorkspace

A workspace for running an Automator workflow.

## Declaration

```swift
class AMWorkspace
```

## Overview

Overview The AMWorkspace class provides access to the shared workspace in the Automator framework, where you can run workflows without a workflow controller. Use shared to access the shared workspace and runWorkflow(atPath:withInput:) to run your workflow in it.

## Topics

### Accessing the Shared Workspace

- [shared](automator/amworkspace/shared.md)

### Running Workflows

- [runWorkflow(atPath:withInput:)](automator/amworkspace/runworkflow(atpath:withinput:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Workflows

- [AMWorkflow](automator/amworkflow.md)
- [AMWorkflowController](automator/amworkflowcontroller.md)
- [AMWorkflowView](automator/amworkflowview.md)
