Scripts
Hi Barry,
Could you please check if I am on the right tack?
By adding the following line from "Solar Eclipse 2017" script from Adam Fenley's code as the second last line of a script ---
core.setDate("now");
it updates the view to today's date and time.
I also found (while experimenting) that by adding the following line at the end of a script ----
core.setObserverLocation("Beaumont Hills, Australia"," ");
your view is restored to Beaumont Hills. Obviously other users would substitute their (home) locations.
Whilst this extra code does not appear to "stop" the script, it seems to allow a user to continue without exiting the program. Unfortunately another script can not be loaded until after a re-start.
Peter
|