KstScript is an implementation of embedded JavaScript and bindings which allows Kst users to programatically manipulate Kst at runtime.
Because KstScript is still a work-in-progress, the language bindings may change, thereby breaking scripts. Any changes to the language will be announced on the Kst mailing list. After Kst 1.2.0 is released, the bindings will remain compatible at least until Kst 2.0.0, and possibly beyond. You can pre-emptively check for Kst 1.x with the following code:
function main() {
// my script
}
if (Kst.version[0] == '1') {
main();
} else {
alert("Sorry, this script is only compatible with Kst 1.x.");
}