scripting.doxygen   scripting.doxygen 
skipping to change at line 32 skipping to change at line 32
@page scripting Scripting Engine @page scripting Scripting Engine
@section intro_scripts Introduction @section intro_scripts Introduction
Since version 0.10.1, Stellarium includes a scripting feature based on the Since version 0.10.1, Stellarium includes a scripting feature based on the
<a href="http://doc.trolltech.com/stable/qtscript.html">Qt Scripting Engine </a>. <a href="http://doc.trolltech.com/stable/qtscript.html">Qt Scripting Engine </a>.
This makes it possible to write small programs within Stellarium to produce This makes it possible to write small programs within Stellarium to produce
presentations, set up custom configurations, and to automate repetitive presentations, set up custom configurations, and to automate repetitive
tasks. Prior to version 0.10.0, Stellarium used a different scripting engi ne tasks. Prior to version 0.10.0, Stellarium used a different scripting engi ne
called @ref StratoScript. called @ref stratoscript.
The core scripting language is The core scripting language is
<a href="http://en.wikipedia.org/wiki/ECMAScript">ECMAScript</a>, giving us ers <a href="http://en.wikipedia.org/wiki/ECMAScript">ECMAScript</a>, giving us ers
access to all basic ECMAScript language features such as flow control, vari ables access to all basic ECMAScript language features such as flow control, vari ables
string manipulation and so on. Interaction with Stellarium-specific feature s string manipulation and so on. Interaction with Stellarium-specific feature s
is done via a collection of objects which represent components of Stellariu m is done via a collection of objects which represent components of Stellariu m
itself. See @ref scripting_api for more details. itself. See @ref scripting_api for more details.
@section scratoscript StratoScript @section stratoscript StratoScript
Prior to version 0.10.0, Stellarium had a simple scripting engine, known as Prior to version 0.10.0, Stellarium had a simple scripting engine, known as
\e StratoScript. Using \e StratoScript it was possible to record and play back \e StratoScript. Using \e StratoScript it was possible to record and play back
sequences of Stellarium commands, load and display custom images, and play sounds. sequences of Stellarium commands, load and display custom images, and play sounds.
In this way it was possible to make planetarium presentations - a feature u sed In this way it was possible to make planetarium presentations - a feature u sed
quite widely in the small planetarium community. quite widely in the small planetarium community.
However \e StratoScript lacked many features of a real programming language - However \e StratoScript lacked many features of a real programming language -
there were no variables, no flow control and no way to introspect the state of there were no variables, no flow control and no way to introspect the state of
Stellarium. Stellarium.
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/