mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-30 05:37:00 -06:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user