Introduction | User Scripting | The Script Registry |
Sketch comes with a few example scripts in the Scripts/
directory. This directory works as a Python package, so to import a
script, say abut_horizontal.py just execute import
Script.abut_horizontal
in userhooks.py.
Each of the modules in Script/ contains one script and registers this script when it is imported.
Introduction | User Scripting | The Script Registry |