(Created page with "=Scripts Siril=")
(Created page with "Depuis ses débuts, Siril peut utiliser les entrées utilisateur sous forme de commandes textuelles, à partir de la ligne de commande. Récemment, Siril:...")
Line 2: Line 2:
=Scripts Siril=
=Scripts Siril=


Since its early days, Siril can take user inputs as textual [[Siril:Commands|commands]], from the command line. Recently, [[Siril:Commands#Commands_history|more commands have been added]], enabling for a basic automated processing of images. Commands can be stored in a file that we call '''script''', and they are executed one after the other. Some commands can be used in scripts, some cannot, this is indicated in the help of the command line from the graphical user interface of siril.
Depuis ses débuts, Siril peut utiliser les entrées utilisateur sous forme de [[Siril:Commands|commandes]] textuelles, à partir de la ligne de commande. Récemment, [[Siril: Commands#Commands_history|d'autres commandes ont été ajoutées]], permettant ainsi un traitement automatisé de base des images. Les commandes peuvent être stockées dans un fichier que nous appelons '''script''', et elles sont exécutées les unes après les autres. Certaines commandes peuvent être utilisées dans des scripts, d'autres non, comme l'indique l'aide de la ligne de commande à partir de l'interface graphique de siril.


Since release [[Siril:0.9.9|0.9.9]], Siril can execute scripts from a file. Since [[Siril:0.9.10|0.9.10]], [[Siril:Commands|commands]] can also be taken from a [[Siril:Commands#Command_stream_.28pipe.29|named pipe]].
Since release [[Siril:0.9.9|0.9.9]], Siril can execute scripts from a file. Since [[Siril:0.9.10|0.9.10]], [[Siril:Commands|commands]] can also be taken from a [[Siril:Commands#Command_stream_.28pipe.29|named pipe]].

Revision as of 12:32, 24 November 2018

Other languages:

Scripts Siril

Depuis ses débuts, Siril peut utiliser les entrées utilisateur sous forme de commandes textuelles, à partir de la ligne de commande. Récemment, d'autres commandes ont été ajoutées, permettant ainsi un traitement automatisé de base des images. Les commandes peuvent être stockées dans un fichier que nous appelons script, et elles sont exécutées les unes après les autres. Certaines commandes peuvent être utilisées dans des scripts, d'autres non, comme l'indique l'aide de la ligne de commande à partir de l'interface graphique de siril.

Since release 0.9.9, Siril can execute scripts from a file. Since 0.9.10, commands can also be taken from a named pipe.

Using scripts

There are two ways to start a script manually: using the @ keyword on the command line, followed by the script name, as explained here, or use the script menu.

The script menu only appears if some scripts have been found in the script search directories defined either by default or by the user in the program settings.

Getting scripts

In release 0.9.10, scripts will be provided with the installation. It was already the case only for the Windows installer for 0.9.9. Here are the scripts that are in the installers:

We encourage users creating their own scripts to publish them and make a link in this page with a basic description of what they do.