spacr.qt.tutorial.scripts
=========================

.. py:module:: spacr.qt.tutorial.scripts

.. autoapi-nested-parse::

   Per-app tutorial Step sequences.

   Each `_build_<app>_steps(window)` returns a list of engine.Step. The
   engine handles narration synthesis + capture + mux; these functions
   only choose the narration text, the UI actions, and the cursor
   targets.

   Every script exercises the same core motion: land on the app, load
   a synthetic demo dataset (via the Demos menu we shipped), highlight
   the interesting parts of the settings form, then click Run.







Module Contents
---------------

.. py:data:: AVAILABLE_TUTORIALS
   :value: ['home', 'mask', 'measure', 'crop', 'classify', 'timelapse']


.. py:function:: build_steps(app_key: str, window) -> List[spacr.qt.tutorial.engine.Step]

   Return the tutorial Step list for ``app_key`` bound to ``window``.

   :param app_key: one of :data:`AVAILABLE_TUTORIALS`.
   :param window: live MainWindow instance the steps drive.
   :raises ValueError: when ``app_key`` is not a known tutorial.


