From 3e2d4c956d74e1f388edd93ea9488752bb7ce0ea Mon Sep 17 00:00:00 2001 From: Bill Ferguson Date: Thu, 22 Jun 2023 16:04:26 -0400 Subject: [PATCH] tools/script_manager.lua - Documented more fields for the sm.scripts table Removed extra declaration of check_update preference --- tools/script_manager.lua | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/tools/script_manager.lua b/tools/script_manager.lua index 7befa03..b17ec57 100644 --- a/tools/script_manager.lua +++ b/tools/script_manager.lua @@ -104,17 +104,6 @@ dt.preferences.register(MODULE, "check_update", "bool", local check_for_updates = dt.preferences.read(MODULE, "check_update", "bool") --- - - - - - - - - - - - - - - - - - - - - - - - --- P R E F E R E N C E S --- - - - - - - - - - - - - - - - - - - - - - - - - -dt.preferences.register(MODULE, "check_update", "bool", - "check for updated scripts on start up", - "automatically update scripts to correct version", - true) - -local check_for_updates = dt.preferences.read(MODULE, "check_update", "bool") - -- - - - - - - - - - - - - - - - - - - - - - - - -- L O G L E V E L -- - - - - - - - - - - - - - - - - - - - - - - - @@ -170,6 +159,8 @@ sm.categories = {} storage_name name of the exporter (in the exporter storage menu) has_action true if it creates an action action_name name on the button + has_select true if it creates a select + select_name name on the button has_event true if it creates an event handler event_type type of event, shortcut, post-xxx, pre-xxx callback name of the callback routine