PixInsight Forum (historical)
PixInsight => Wish List => Topic started by: Cheyenne on 2009 July 10 08:24:54
-
This is real minor, but it would be nice if the scripts would simply write out the settings that were entered in their dialogs to the process console. That way if one needs to re-run the script they can see what was used.
-
Cheyenne,
this actually goes in the same direction as my question in http://pixinsight.com/forum/index.php?topic=1266.0. Currently, the Settings of a script are not stores in the processing history, and thus it is impossible to run them again with the same settings (e.g. on an Image Container or a different image).
I have no solution yet.
Georg
-
Yeah.. that was why my solution is to simply have the script writers just echo the values of the parameters so that it shows up in the process console log. Not perfect, but easy to implement.
-
Scripts aren't PixInsight processes, so you can't take instances of them, and their parameters can't be stored anywhere that I know of. The supplied ones can be modified to make use of the Settings PJSR object to store the latest set of parameters specified (or even older ones too, if desired), but there's no easy and convenient way to store them in a place comparable to .psm files. What I usually do is take note of the relevant information into one of my process icons, like "Following this process, do a MaskedStretchTransform with the following parameters: foo -> 42, bar -> 69".
-
There is the process console log which can be "captured" or at least viewed. My suggestion just makes it easier to "take notes".
-
Hi David,
I think it would be technically feasible to write scripts in a way that works both for interactive and batch operations, just as normal PI processes. Currently, you just get an error message when you try to do so (http://pixinsight.com/forum/index.php?topic=1266.0). Maybe Juan can create a suitable interface (or it already exists and we just do not know yet....).
Georg