# Example Scripts

The following are several example scripts:

* [**Example Rename Script**](example_scripts/example_rename_script): An example of a [rename script](https://github.com/Chaoses-Ib/DirectoryOpus/blob/main/Manual/scripting/example_scripts/rename_scripts/README.md) that adds the resolution of images to the filename.
* [**Simple Script Function**](example_scripts/simple_script_function): A simple [script function](https://github.com/Chaoses-Ib/DirectoryOpus/blob/main/Manual/scripting/example_scripts/script_functions.md) that displays the name of the largest file in the current folder.
* [**Adding a new Internal Command**](example_scripts/adding_a_new_internal_command): A [script add-in](https://github.com/Chaoses-Ib/DirectoryOpus/blob/main/Manual/scripting/example_scripts/script_add-ins/README.md) that adds an enhanced GetSizes command to Opus.
* [**Extending the FAYT Field**](example_scripts/extending_the_fayt): A [script add-in](https://github.com/Chaoses-Ib/DirectoryOpus/blob/main/Manual/scripting/example_scripts/script_add-ins/README.md) that extends the [Find-as-you-type Field](../basic_concepts/the_lister/find-as-you-type_field).
* [**Adding a new Column**](example_scripts/adding_a_new_column): A [script add-in](https://github.com/Chaoses-Ib/DirectoryOpus/blob/main/Manual/scripting/example_scripts/script_add-ins/README.md) that adds an **Is Modified?** column to Opus.
* [**Dialogs and Popup Menus**](example_scripts/simple_dialogs_and_popup_menus): Example showing how to display simple dialogs and popup menus from a script.
* [**Responding to Events**](example_scripts/responding_to_events): An example script add-in that responds to several events.
