When I decorate a command class like this the right mouse click history is still updated with the command. When I read the Style.Hidden comments I get this:
*/// Also known as a "test" command. The command name does not auto-complete*
*/// when typed on the command line an is therefore not discoverable. Useful*
*/// for writing commands that users don't normally have access to.*
So the command is discoverable and the user can run it. Is there a way to disable the RMB history as well?
If the user is able to Discover it they must wonder why it is being hidden in the first place. This means that I have to document it or disable it from running from the command line writing something to RhinoApp.WriteLine. No problem there but if I can eliminate even the question, I would be better off.
Best;
Steve