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
Automation of Celestia?
-
Topic authorspacedonkey
- Posts: 10
- Joined: 29.07.2005
- With us: 19 years 3 months
-
- Developer
- Posts: 944
- Joined: 18.07.2002
- With us: 22 years 3 months
- Location: Lyon (France)
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.
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.
Selden