Hi Barry,
I looked at the Stellarium site and found this page...
http://stellarium.svn.sourceforge.ne...scripts/tests/
in this directory is a file called state.ssc. It is supposed to demonstrate how to save the current state. When I run it on my PC the script starts ok but after loading the starchart the script crashes and gives an error message
script error: "ReferenceError: Can't find variable: StelSkyImageMgr" @ line 145
I've looked right through the two .inc files and both appear normal to me so I cannot explain why it doesn't work.
I'm not sure how to declare a variable (text or array etc) within a script to capture the data returned by a call to "get".
Looks like I have to research lots more. Hopefully the .doc you posted will be of use.
The documentation on the Stellarium site is quite technical but I'm not convinced that its adequate. I sent the author an email but have not yet had a reply.
If you manage to learn anymore I'd be happy to learn from you.
Thanks.
Quote:
Originally Posted by Barrykgerdes
Hi Peter
I did a little research on the script language and it is quite comprehensive. I have not tried but if you use "get" where "set" is in the command I think it will extract that data.
Here is the table of commands as far as I have progressed.
Barry
|