I'm looking at the possibility of launching this from a C#.net application to script in-application automation instead of doing something like LUA.
The script capabilities are very simplistic custom methods, but I would need to write it out as a proprietary c# script. From what I've seen so far, I imagine I'd have to create my own module with the objects available in the current app's API as well as being able to write out the final script to C#. Nothing spectacularly difficult. A few modules already seem to do this in different languages.
What I'm unsure of is the mechanics of integrating it so it can be launched in a browser for the localhost. e.g. what kind of http server does it use/require? What kind of licensing costs, if any are associated with distributing it or it's dependencies in an application?