mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 18:54:31 +01:00
The warning before File › Scripts › Other Script… runs a script now runs script.check on it, which does not run any of it, and lists what the check finds: each outside-the-document category of the report (files the script writes, moves or deletes, files it opens in other apps, messages to other apps, the network, native code, environment variables, preferences, code the checker can't read), the files and dialogs it needs, features only the reference app has, and the files its `#include` lines name. It says when the script is too large to check, compiled, not a script or not read, and when a list was cut short at its limit. A script that reaches nothing gets the warning as before. The labels are Check Script…'s. Run still runs the script. The report is in the dialog's protected `__reaches` field, which ui.dialog.set cannot change. Scripts from the Scripts folder still run without the warning.