---
title: ScriptCodeRun
framework: Core Services
role: symbol
role_heading: Structure
platforms: [Mac Catalyst 17.0+, macOS 10.0+]
path: coreservices/scriptcoderun
---

# ScriptCodeRun

Contains script code information for a text run.

## Declaration

```occ
typedef struct ScriptCodeRun {
    ...
} ScriptCodeRun;
```

## Overview

Overview To return the result of a multiple encoding conversion, the ConvertFromUnicodeToScriptCodeRun function uses a script code run structure.  The script code run structure uses an extended script code with values in the range 0–254, which are the text encoding base equivalents to Mac OS encodings. Values 0–32 correspond directly to traditional script codes. This allows a script code run to distinguish Icelandic, Turkish, Symbol, Zapf Dingbats, and so on.

## Topics

### Instance Properties

- [offset](coreservices/scriptcoderun/1400334-offset.md)
- [script](coreservices/scriptcoderun/1400081-script.md)
