Page 1 of 1

Automation of Celestia?

Posted: 29.07.2005, 12:23
by spacedonkey
Is there a way to control Celestia from another program, (Windows platform)?

I want to make Celestia respond to user inputs in an interactive learning environment. I can not see how you would do this with scripts.

I am hoping there is an API or other automation method available.

Thanks for any tips

Posted: 29.07.2005, 14:47
by Christophe
Sorry, but no, there is currently no way to do this.

Adding a DCOM interface to Celestia can probably be done without too much trouble.

Posted: 29.07.2005, 15:56
by selden
Yes, Celestia *can* be controlled from another program.

Don't forget that Celestia can be run from another program by sending a "Celestia" command to the system's command interpreter. You can pass the name of a script file on that same command line. That script file could contain only one command or several. (i.e. your controlling program could write a file containing appropriate .CEL or .CELX commands.) If Celestia already is running, then the command line will be passed to that running copy.

Of course, this is clunky and slow, but it does work.