HI Burr, well AppDomains are a construct of the .NET/CLR environment. MoI does not use that so it doesn't know anything about AppDomains.
I'm not sure how Dave Morrill set up his interface from Python to MoI. MoI is not really designed currently to be controlled from another application. It might have been possible in MoI v1 and v2 which were based off of the Microsoft "COM Automation" scripting environment. MoI v3 and v4 are not based off of that anymore, the script engine is now included along with Moi to help keep things more self contained and portable.
One thing that you can do though is to generate a .js script file, then you can launch MoI.exe from your other program and pass it the .js script file name as a command line parameter. When MoI starts up, it looks to see if it was given a .js file name as a command line parameter and if so it will load and execute that script before showing its main window. That's how the batch file processing method works:
http://kyticka.webzdarma.cz/3d/moi/#Batch
I can probably resurrect a COM Automation interface for MoI at some point here but it is not in there right now, not since the v3 switch off of mshtml/jscript.dll to webkit/javascriptcore.
- Michael
|