After searching the web like a madman and trying all maintenance procedures that came to mind I more or less accidentally found that Hookmark’s badge interferes with Shortcuts security dialog (under OS 15.7.7 and most likely other OS versions and other Shortcuts dialogs, too [untested] ).
Try the following:
• Activate Hookmark’s Badge in Hookmarks settings.
• Create a new shortcut containing an Apple Script. The default (meaningless) template is enough. Execute it.
• A security dialog comes up with two buttons, both greyed out and therefore not clickable. All you can do is click the dialog’s close dot to close the dialog. The macro then gets aborted.
(If no security dialog comes up, open the shortcut’s security tab and click the button at the bottom saying something like “Reset security settings”.)
• Execute it again and drag the dialog across the screen. You will observe that both buttons will be enabled for splits of seconds only to return to their disabled states when dragging stops. Obviously the Badge is competing with the dialog about being frontmost.
The proof:
• Close the dialog by clicking the red close dot.
• Disable the Badge in Hookmark’s preferences.
• Execute the script once more: both buttons are enabled and clickable and the macro can be run.
