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

# On Open Project

> On Open Project runs when a project is opened in FlexiCapture, passing the main window (IMainWindow) to the script as the Context parameter.

## When it is launched

The script runs when a new project opens.

## Parameters

| Name    | Type                                                             | Access     | Description      |
| ------- | ---------------------------------------------------------------- | ---------- | ---------------- |
| Context | [IMainWindow](/flexi-capture/appendix/scripts-shell/imainwindow) | Read/write | The main window. |
