mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
With Preferences > General > Run Startup Scripts on (off by default), the .jsx files of the Startup Scripts folder next to the preferences run when VectorCraft starts and before each script chosen from File > Scripts, installed or Other Script..., one at a time and sorted by name without regard to case. Each runs with the limits of any script and its own undo step; one that cannot be read, is too large or fails is named in the Script Console and the status bar, and the next one runs, then the chosen script. Nothing runs in Safe Mode; after a launch that stopped, they run once Disable and Continue or Start Normally is chosen, and the launch marker names the running startup script so a stop there offers to disable it. script.startup.run runs the folder; script.* is refused inside scripts, so a startup script cannot start another round.