.. SPDX-FileCopyrightText: © 2022 Alexandros Theodotou <alex@zrythm.org>
.. SPDX-License-Identifier: GFDL-1.3-invariants-or-later
.. This is part of the Zrythm Manual.
   See the file index.rst for copying conditions.

Scripting Interface
===================

Clicking the :guilabel:`Scripting Interface` button
in the
:ref:`Main Toolbar <zrythm-interface/main-toolbar:Main Toolbar>`
will bring up the scripting interface dialog.

.. figure:: /_static/img/scripting-interface.png
   :align: center

   Scripting interface

Scripts can be edited in the editor found in the
top part of the scrpiting interface.

Execution
~~~~~~~~~

Pressing :guilabel:`Execute` will execute the
script and print any output in the label at the
bottom.

Changing Language
~~~~~~~~~~~~~~~~~

The language of the script can be selected using
the provided dropdown. Changing the language will
also affect code highlighting.
