(Created page with "Sin dai primi giorni, Siril accetta input dagli utenti come comandi testuali, da linea di comando. Recentemente, Siril:Commands#Commands_history|più coma...")
 
(Updating to match new version of source page)
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages />
<languages />
=Siril scripts=
<div lang="en" dir="ltr" class="mw-content-ltr">
<span style="color: #ff0090; font-weight: bold; text-align: center; margin: 2em; font-size: 125%;">This page is now deprecated. Please refer to the new documentation at [https://siril.readthedocs.io/en/stable/Scripts.html siril.readthedocs.io].</span>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
__FORCETOC__
</div>
<span id="Siril_scripts"></span>
<div class="mw-translate-fuzzy">
Sin dai primi giorni, Siril accetta input dagli utenti come [[Siril:Commands|comandi]] testuali, da linea di comando. Recentemente, [[Siril:Commands#Commands_history|più comandi sono stati aggiunti]], rendendo possibile un'elaborazione automatica di base delle immagini. I comandi possono essere memorizzati in un file che chiamiamo '''script''', e vengono eseguiti uno dopo l'altro. Alcuni comandi possono essere utilizzati negli script, altri no, questo è indicato nell'help della linea di comando dall'interfaccia grafica di Siril.
Sin dai primi giorni, Siril accetta input dagli utenti come [[Siril:Commands|comandi]] testuali, da linea di comando. Recentemente, [[Siril:Commands#Commands_history|più comandi sono stati aggiunti]], rendendo possibile un'elaborazione automatica di base delle immagini. I comandi possono essere memorizzati in un file che chiamiamo '''script''', e vengono eseguiti uno dopo l'altro. Alcuni comandi possono essere utilizzati negli script, altri no, questo è indicato nell'help della linea di comando dall'interfaccia grafica di Siril.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
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.
</div>
<div class="mw-translate-fuzzy">
A partire dalla release [[Siril:0.9.9|0.9.9]], Siril può eseguire script da un file. Dalla [[Siril:0.9.10|0.9.10]], i [[Siril:Commands|comandi]] possono essere presi anche da una [[Siril:Commands#Command_stream_.28pipe.29|named pipe]].
</div>
<div class="mw-translate-fuzzy">
Ci sono due modi per avviare uno script manualmente: usando la keyword '''@''' nella linea di comando, seguita dal nome dello script, come spiegato [[Siril:Commands#Introduction|qui]], o usando il menu script.
</div>
<div class="mw-translate-fuzzy">
Il menu script appare solo se alcuni script sono stati trovati nelle cartelle di ricerca degli script, definite di default o dall'utente usando le impostazioni del programma.
</div>
<div class="mw-translate-fuzzy">
[[File:Siril_scripts_menu.png]]
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''If you don't see the Scripts menu (or if you don't see the default scripts in the list):'''
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Please use the following procedure:
* click on the 'Burger' icon then on 'Preferences'
[[File:Menu-Preferences_EN.jpg]]
* click on the 'Scripts' section
* delete the 2 lines in the field as described below
* click on 'Apply'
* close and restart Siril
[[File:Preferences-Scripts_EN.jpg]]
</div>
<div class="mw-translate-fuzzy">
Nella release [[Siril:0.9.10|0.9.10]], gli script verranno forniti con l'installazione. Questo avveniva già solo per l'installer Windows della [[Siril:0.9.9|0.9.9]]. Qui ci sono gli script presenti negli installer:
</div>


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]].
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Default scripts (automatically installed with Siril):'''
</div>


==Using scripts==
<div class="mw-translate-fuzzy">
* [https://gitlab.com/free-astro/siril/raw/master/scripts/DSLR_preprocessing.ssf DSLR_preprocessing.ssf]: script per la pre-elaborazione con fotocamere a colori DSLR. Usa bias, flat e dark, registra ed effettua lo stacking delle immagini.
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_Drizzle.ssf DSLR_Preprocessing_Drizzle.ssf]
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat_NoDark_NoBias.ssf DSLR_Preprocessing_NoFlat_NoDark_NoBias.ssf]
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_NoDark.ssf DSLR_Preprocessing_NoDark.ssf]
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_preprocessing_Cosmetic.ssf DSLR_preprocessing_Cosmetic.ssf]
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat.ssf DSLR_Preprocessing_NoFlat.ssf]
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_preprocessing_Drizzle_Cosmetic.ssf DSLR_preprocessing_Drizzle_Cosmetic.ssf]
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat_NoDark.ssf DSLR_Preprocessing_NoFlat_NoDark.ssf]
</div>


There are two ways to start a script manually: using the '''@''' keyword on the command line, followed by the script name, as explained [[Siril:Commands#Introduction|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.
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Other scripts:'''
</div>


==Getting scripts==
<div lang="en" dir="ltr" class="mw-content-ltr">
* [https://free-astro.org/images/4/4b/Mono_Preprocessing_WithoutFlat.ssf Mono_Preprocessing_WithoutFlat.ssf]: preprocess monochrome images without bias nor flat. Added 2020/10/17
* [https://free-astro.org/images/7/71/Mono_Preprocessing_WithoutDark.ssf Mono_Preprocessing_WithoutDark.ssf]: preprocess monochrome images without dark. Added 2020/10/17
* [https://free-astro.org/images/9/95/Mono_Preprocessing_WithoutDBF.ssf Mono_Preprocessing_WithoutDBF.ssf]: preprocess monochrome images without dark, bias nor flat. Added 2020/09/01
* [https://free-astro.org/images/f/f2/Mono_Preprocessing_withbackgroundextraction.ssf Mono_Preprocessing_withbackgroundextraction.ssf]: preprocess monochrome images with background extraction on each image. Added 2021/07/18.
* [https://free-astro.org/images/e/ea/OSC_Preprocessing_WithoutFlat.ssf OSC_Preprocessing_WithoutFlat.ssf]: preprocess color images without bias nor flat. Added 2020/10/17
* [https://free-astro.org/images/1/1a/OSC_Preprocessing_WithoutDark.ssf OSC_Preprocessing_WithoutDark.ssf]: preprocess color images without dark. Added 2020/10/17
* [https://free-astro.org/images/a/a4/OSC_Preprocessing_WithoutDBF.ssf OSC_Preprocessing_WithoutDBF.ssf]: preprocess color images without dark, bias nor flat. Added 2020/09/01
* [https://free-astro.org/images/d/dd/OSC_Startrail.ssf OSC_Startrail.ssf]: preprocess color images and build a star-trail. Added 2020/09/01.
* [https://free-astro.org/images/0/06/OSC_Preprocessing_withbackgroundextraction.ssf OSC_Preprocessing_withbackgroundextraction.ssf]: preprocess color images with background extraction on each image. Added 2021/07/18.
</div>


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


* [https://free-astro.org/svn/siril/branches/0.9/scripts/DSLR_preprocessing.ssf DSLR_preprocessing.ssf]: script for DSLR color camera preprocessing, Uses bias, flats and darks, registers and stack the images.
Incoraggiamo gli utenti che creano i propri script a pubblicarli e a creare un link in questa pagina con una semplice descrizione di ciò che fanno.
* [https://free-astro.org/svn/siril/branches/0.9/3rdparty/scripts/en/DSLR_Preprocessing_Drizzle.ssf DSLR_Preprocessing_Drizzle.ssf]
* [https://free-astro.org/svn/siril/branches/0.9/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat_NoDark_NoBias.ssf DSLR_Preprocessing_NoFlat_NoDark_NoBias.ssf]
* [https://free-astro.org/svn/siril/branches/0.9/3rdparty/scripts/en/DSLR_Preprocessing_NoDark.ssf DSLR_Preprocessing_NoDark.ssf]
* [https://free-astro.org/svn/siril/branches/0.9/3rdparty/scripts/en/DSLR_preprocessing_Cosmetic.ssf DSLR_preprocessing_Cosmetic.ssf]
* [https://free-astro.org/svn/siril/branches/0.9/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat.ssf DSLR_Preprocessing_NoFlat.ssf]
* [https://free-astro.org/svn/siril/branches/0.9/3rdparty/scripts/en/DSLR_preprocessing_Drizzle_Cosmetic.ssf DSLR_preprocessing_Drizzle_Cosmetic.ssf]
* [https://free-astro.org/svn/siril/branches/0.9/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat_NoDark.ssf DSLR_Preprocessing_NoFlat_NoDark.ssf]


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.
<div lang="en" dir="ltr" class="mw-content-ltr">
We also suggest users to use [https://gitlab.com/free-astro/sirilic Sirilic] to generate scripts or to provide a more suited way to manage all the files for multi-session processing.
</div>

Latest revision as of 22:59, 16 September 2023

Other languages:

This page is now deprecated. Please refer to the new documentation at siril.readthedocs.io.

Sin dai primi giorni, Siril accetta input dagli utenti come comandi testuali, da linea di comando. Recentemente, più comandi sono stati aggiunti, rendendo possibile un'elaborazione automatica di base delle immagini. I comandi possono essere memorizzati in un file che chiamiamo script, e vengono eseguiti uno dopo l'altro. Alcuni comandi possono essere utilizzati negli script, altri no, questo è indicato nell'help della linea di comando dall'interfaccia grafica di Siril.

Since its early days, Siril can take user inputs as textual commands, from the command line. Recently, 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.

A partire dalla release 0.9.9, Siril può eseguire script da un file. Dalla 0.9.10, i comandi possono essere presi anche da una named pipe.

Ci sono due modi per avviare uno script manualmente: usando la keyword @ nella linea di comando, seguita dal nome dello script, come spiegato qui, o usando il menu script.

Il menu script appare solo se alcuni script sono stati trovati nelle cartelle di ricerca degli script, definite di default o dall'utente usando le impostazioni del programma.

If you don't see the Scripts menu (or if you don't see the default scripts in the list):

Please use the following procedure:

  • click on the 'Burger' icon then on 'Preferences'

  • click on the 'Scripts' section
  • delete the 2 lines in the field as described below
  • click on 'Apply'
  • close and restart Siril

Nella release 0.9.10, gli script verranno forniti con l'installazione. Questo avveniva già solo per l'installer Windows della 0.9.9. Qui ci sono gli script presenti negli installer:


Default scripts (automatically installed with Siril):


Other scripts:


Incoraggiamo gli utenti che creano i propri script a pubblicarli e a creare un link in questa pagina con una semplice descrizione di ciò che fanno.

We also suggest users to use Sirilic to generate scripts or to provide a more suited way to manage all the files for multi-session processing.