In the script editor, for dialogs, there's a nice option called Check Mnemonics that offers to auto-assign them. Would it be possible to access that at runtime?
The reason is that it's particularly useful for multi-language dialogs that set their labels at runtime, sometimes using Opus's own translation strings (or even the script's own strings). In those cases, it would be really helpful if you could assign mnemonics so they don't clash with each other, like that option does. Maybe you could pass an array of control names so it only acts on those.