Feature : Script parameters
Description of the feature
Hello,
It can be really useful to be able to set custom parameters to script (to avoid editing scripts to change a path or a simple command value) The idea is to have a command, something like :
parameter name type [default]
ex : parameter myvariable integer 3
This command could open a gtk dialog to set the variable value according to a type (which could be string, integer, double, path, ...) prefilled with the (optional) default value. Then this variable could be used later in the script with a specific syntax, like $name or anything else...
A simple example :
parameter sigmal integer 3
parameter sigmah integer 3
stack pp_flat_ rej $sigmal $sigmah -norm=mul
Anthony.
Edited by Anthony Hinsinger