> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class Script

Namespace: [OpenTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD)\
Assembly: OpenTD.dll

Base class that is useful for collecting several OpenTD scripts together
and presenting them to your users with a common interface. Script is used
by the official CRTech OpenTD Demos.

```csharp theme={null}
public abstract class Script
```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Script](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.Script.md)

## Inherited Members

[object.Equals(object?)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone),
[object.ReferenceEquals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Properties

### WorkingDirectory

One working directory for all of your scripts to use.

```csharp theme={null}
public static string WorkingDirectory { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

## Methods

### GetDescription()

```csharp theme={null}
public abstract string GetDescription()
```

#### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

### GetKeywords()

```csharp theme={null}
public abstract string GetKeywords()
```

#### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

### GetName()

```csharp theme={null}
public abstract string GetName()
```

#### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

### Run()

```csharp theme={null}
public abstract void Run()
```

### ToString()

Returns a string that represents the current object.

```csharp theme={null}
public override string ToString()
```

#### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

A string that represents the current object.
