I'm after preventing users from executing a code build via the built-in mechanisms (Ctrl-B shortcut, Build buttons in dialogs, etc), and forcing them to use a build script (which itself will call slbuild() or similar).
I can use the sl_customization() to disable individual commands, buttons, etc, but that is a bit hit and miss (e.g. select then deselect "Code generation only" and build button re-enables) and I can use either a STF or installation specific hook, but that isn't aware of how the build was invoked so I've only been able to look for telltales in the dbstack trace, which doesn't seem robust enough.
Can anyone suggest any other tricks I could use in a hook file, or any other means I could use to achieve this?
Thanks in advance, Graham