Scripts: Run Script's params text names the four-level limit on subfolders

ui.runInstalledScript runs a .js or .jsx file in the Scripts folder or in a
subfolder at most 4 levels below it, whether or not a capped listing read
that subfolder. The params text now says so instead of naming only listed
subfolders.
This commit is contained in:
dotCooCoo
2026-11-10 18:58:54 -08:00
parent a06ab45911
commit 37f140925e
+1 -1
View File
@@ -1530,7 +1530,7 @@ pub const UI_COMMANDS: &[(&str, &str, &str, &str)] = &[
crate::scripts_menu::COMMAND,
"Run Script",
"",
"{path: a script's path as script.listInstalled gives it} run a script of the Scripts folder, as its File › Scripts item does (script.run with the file's text, under the file's name), without the warning Other Script… shows; a file that is no longer a .js or .jsx file in the folder or one of its listed subfolders, or that is or lies behind a link or is hidden, is not run, and the menu's listing is read again",
"{path: a script's path as script.listInstalled gives it} run a script of the Scripts folder, as its File › Scripts item does (script.run with the file's text, under the file's name), without the warning Other Script… shows; a file that is no longer a .js or .jsx file in the folder or a subfolder at most 4 levels below it, or that is or lies behind a link or is hidden, is not run, and the menu's listing is read again",
),
(
"ui.checkScript",