I want to be able to expose Control.X commands from inside of applications I write.
Right now we get Control.On, Control.Off, Control.Level, Control.Toggle and Custom API Command.
I understand in theory it should be possible to pass commands via Custom API Command but it's not documented and I have not been able to figure out how to make it work. Further, if I write App X, it makes it difficult for the end user to use the script wizard if they have to pass it Custom API commands - I'd really like the end user to be able to pass it a Control.MyCustomControl.
In theory what I'd like to see is in program setup code:
Program.AddCustomControl("Control.Name");
Then in application code I'd like to be able to say:
When.ControlCallReceived("Program.MyProgram",(args) =>
Then I can look at the control args, which would be a string representing the control name - and work on it. From an application development standpoint this would make things MUCH easier for me and allow me to develop something neater/richer.