Save Script log

L'utilisation et la création des scripts.
Répondre
Dekelver Pieter-Jan
Messages : 183
Enregistré le : 04 mars 2021, 15:23

Save Script log

Message 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.
Avatar du membre
Marc SERRAU
Messages : 197
Enregistré le : 20 juin 2009, 11:08
Localisation : UAI R83 Banon La Tuilerie (04)
Contact :

Re: Save Script log

Message par Marc SERRAU »

Of course, there is :

SAVE_DISPLAYSCRIPT NomFichierLog$
Marc Serrau
http://www.astrosurf.com/noctambule - Utilisateur de Prism depuis le XXème siècle.
UAI B24 - CESSON (F-77) & R83 - Banon La Tuilerie (F-04)
Dekelver Pieter-Jan
Messages : 183
Enregistré le : 04 mars 2021, 15:23

Re: Save Script log

Message 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.
Avatar du membre
Marc SERRAU
Messages : 197
Enregistré le : 20 juin 2009, 11:08
Localisation : UAI R83 Banon La Tuilerie (04)
Contact :

Re: Save Script log

Message 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 )
Marc Serrau
http://www.astrosurf.com/noctambule - Utilisateur de Prism depuis le XXème siècle.
UAI B24 - CESSON (F-77) & R83 - Banon La Tuilerie (F-04)
Dekelver Pieter-Jan
Messages : 183
Enregistré le : 04 mars 2021, 15:23

Re: Save Script log

Message 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.
Répondre