Special attention was paid to the concept of execution context (direct, global and target view context). It was made clear that a programmer has to give thought to how these different cases are handled in his script. This is important in order to be able to execute the script directly, to create an instance of the script and to execute the script on a target view.
An exemplary script (LchSaturation) was developed in the webinar step by step. Using the example of the CurvesTransformation, it was demonstrated how to use PixInsight's processes (i.e. execute external scriptable objects) in a script.
The Object Explorer, a valuable source of information for programming scripts, was extensively used to become acquainted with the available objects and their definition.
The graphical user interface was elucidated. For the script project covered in the webinar, structure tree and layout tree were shown and the realization of the GUI with the available objects in PixInsight was demonstrated. The usage of Event Handlers which play an important part in the realization of a user interface was explained.
Sometimes typos led to an error message, but this was helpful as well: it was shown how to interpret the message and correct the error. Tracking the execution of a script was realized by temporarily incorporating output of variables to the console. The audience was allowed to put interposed questions.
It was shown how to install a script in the PixInsight menu. Guidelines for programming scripts were given. Resources for programming scripts were compiled.
The webinar for the very first time gave me a coherent introduction to programming scripts in PixInsight. That is far more than what I (not being a programmer) could ever get from reading open source scripts. By studying script sources I mostly didn't understand why the code was programmed in that specific way, and often I didn't understand at all how it worked. I guess this has changed fundamentally after having listened to Roberto's lecture, because I now have a better understanding of the connections.
I want to say a big thank-you to Roberto Sartori for this valuable contribution that hopefully will encourage more PixInsight users to try programming a script. I would be pleased as well if it effected more frequent discussions in the forum category "PCL and PJSR Development".