# ActivateListerData

If a [script add-in](https://chaoses-ib.gitbook.io/directory-opus/manual/scripting/script_add-ins)implements the \*\*[OnActivateLister](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_events/onactivatelister)\*\*event, the method receives an **ActivateListerData** whenever the window activation state of a Lister changes.

| Property Name | Return Type                                                                                                                       | Description                                                                                                                                                                                                                                                                                                          |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| active        | *bool*                                                                                                                            | Returns **True** if this Lister is activating, **False** if deactivating. Note that if the activation moves from one Lister straight to another the script will be called twice.                                                                                                                                     |
| lister        | *object:*[**Lister**](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/lister) | Returns a [**Lister**](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/lister) object representing the Lister that is closing.                                                                                                                                   |
| 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> |
