mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
Scripts: check then's parameters and keep a failed startup script's message
script.startup.run checks then's parameters as script.run checks them, before any startup script runs. In the app, the message of a startup script that fails or is stopped, through the quit prompt too, stays in the status bar's notes after the chosen script ends.
This commit is contained in:
1 parent
f906a0f814
commit
c0487189bd
7 files changed
+60
-8
No files matched your search
+3
-2
@@ -3278,8 +3278,9 @@ The rest of this section is VectorCraft's own rules:
|
||||
entry it cannot read, the status bar says that the folder was not read in full. A folder that is missing runs
|
||||
nothing. At launch and before a chosen script, when the folder is there and cannot be read, or a file is where the
|
||||
folder should be, the status bar says that the folder cannot be read.
|
||||
- These two notes, and the names of startup scripts that could not start, stay in the status bar after the last run
|
||||
ends: the status bar shows the first of them, and its hover lists them all, then the last run's message.
|
||||
- These two notes, the names of startup scripts that could not start, and the message of each startup script that
|
||||
failed or was stopped stay in the status bar after the last run ends: the status bar shows the first of them, and
|
||||
its hover lists them all, then the last run's message.
|
||||
- The scripts run one at a time, sorted by name without regard to case, then by name. Each runs as `script.run` runs a
|
||||
file, with the same limits, and each that changes a document adds its own Run Script undo step. The chosen script
|
||||
runs after the last of them.
|
||||
|
||||
Reference in new issue
Block a user