> For the complete documentation index, see [llms.txt](https://chaoses-ib.gitbook.io/directory-opus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/afterfolderchangedata.md).

# AfterFolderChangeData

If a [script add-in](/directory-opus/manual/scripting/script_add-ins.md)implements the [**OnAfterFolderChange**](/directory-opus/manual/reference/scripting_reference/scripting_events/onafterfolderchange.md) event, the method receives an **AfterFolderChangeData** object once the folder read is complete.

| Property Name | Return Type                                                                                         | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ------------- | --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| action        | *string*                                                                                            | <p>Returns a string indicating the action that triggered the folder read. The string will be one of the following: <em>normal</em>, <em>refresh</em>, <em>refreshsearch</em>, <em>refreshsub</em>, <em>parent</em>, <em>root</em>, <em>back</em>, <em>forward</em>, <em>dblclk</em>.<br>The <em>refreshsub</em> actions means the folder (and sub-folders) are being refreshed while Flat View is on. The other action names should be self-explanatory.</p> |
| path          | *object:*[**Path**](/directory-opus/manual/reference/scripting_reference/scripting_objects/path.md) | <p><em>If the read failed</em>, this will return a \*\*<a href="/directory-opus/manual/reference/scripting_reference/scripting_objects/path.md">Path</a>\*\*object representing the path that Opus tried to read.<br><em>If the read was successful, this property is not provided</em> - instead, the <strong>tab</strong> property provides access to this information.<br>Use the <strong>result</strong> property to know if the read was a success.</p> |
| qualifiers    | *string*                                                                                            | <p>Returns a string indicating any qualifier keys that were held down by the user when the event was triggered.<br>The string can contain any or all of the following: <em>shift</em> <em>ctrl</em>, <em>alt</em>, <em>lwin</em>, <em>rwin</em><br>If no qualifiers were down, the string will be: <em>none</em></p>                                                                                                                                         |
| result        | *bool*                                                                                              | Returns **True** if the folder was read successfully, or **False** on failure.                                                                                                                                                                                                                                                                                                                                                                               |
| tab           | *object:*[**Tab**](/directory-opus/manual/reference/scripting_reference/scripting_objects/tab.md)   | Returns a [**Tab**](/directory-opus/manual/reference/scripting_reference/scripting_objects/tab.md) object representing the tab that read the folder.                                                                                                                                                                                                                                                                                                         |
