Page 1 sur 1
Save Script log
Posté : 28 août 2026, 14:20
par Dekelver Pieter-Jan
Dear,
Is it possible that when a script has been run in Prism, at the end, it writes all the "PRINTED lines" to a log file? So i can read the log file afterwards?
Thank you.
Re: Save Script log
Posté : 14 sept. 2026, 22:38
par Marc SERRAU
Of course, there is :
SAVE_DISPLAYSCRIPT NomFichierLog$
Re: Save Script log
Posté : 16 sept. 2026, 12:38
par Dekelver Pieter-Jan
Thank you! Will test soon.
PS: If it would be possible to let the prism close by using the script function, this would be also great.
Re: Save Script log
Posté : 23 sept. 2026, 23:43
par Marc SERRAU
I do not know how to do that easily. May be with .bat shell script launched with EXECEXTERNAL or EXECPROCESS ?
With the ObsAuto function, I use a .bat file that shutdown the computer. But it is a bad solution because Prism is active and some files may be not well closed. I asked the author of Prism to implement a better solution (see :
https://forum.prism-astro.com/viewtopic.php?t=3169 )
Re: Save Script log
Posté : 03 oct. 2026, 13:47
par Dekelver Pieter-Jan
Dear,
I use a bat file to at this moment to KILL prism.
I first disconnect camera and scope and then i run the BAT file script.