On Fri, 16 Apr 2021, Fred Engst wrote:
Dear gretl team,
[...]
I would like to do:
Save each session that I created using scrip, but I can’t.
It would be great also if I can save text into the notes page using a
scrip.
Disclaimer: I hardly ever use session files, so maybe my comments are
somehow off the mark. That said, Why can't you just send you students a
individual zipfiles with the data in gdt format and a text file with the
questions? That way, you could also include script files or anything else
you want.
Anyway: session files are mostly intended for interactive use, so there's
very little common ground between them and the scripting interface. If you
want to manipulate session files, you may find it useful to know that a
sessio file is just a zip archive, which contains a bunch of text files,
either in xml format or as hansl scripts. All of them should be editable
with any decent text editor. When you're done, just re-zip the whole bunch
and change the file's extension.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------