UI: the Macros dialog offers Trust Scripts for scripts from a file

The Macros dialog that replaces the scripts-only list keeps its Trust
Scripts row (#2178): scripts that came with an opened file are listed as
disabled until the row's button trusts them for the session, and Run
works after it. A test covers the row, the trust and the run, and the
macro page describes it.
This commit is contained in:
prxnvt
2026-10-25 06:48:57 -04:00
parent aa86b0c327
commit 73b0edd085
2 changed files with 36 additions and 0 deletions
+2
View File
@@ -276,6 +276,8 @@ other macros open; a macro that was left out is not in the saved file.
Macro opens the step editor on a new macro.
- **Macros dialog** (Automate › Macros, View › Macros, Alt+F8). It lists the workbook's macros
(with their shortcuts), then its Automate scripts, and says when the file carries a VBA project.
Scripts that came with an opened file stay disabled until Trust Scripts (`automate.trustScripts`)
trusts them for the session.
Run runs the selected macro on the selection or the selected script; Step Into, Edit and Create
open the step editor; Delete asks first; Options sets a macro's shortcut letter and description. The dialog keeps the result of `view.macros`,
as before macros existed.