====== Script ======
{{:en:documentation:tool_script.png|}}
This tool let you create or run a [[ccdscript|script]]
The scripts can be used to automate some task in CCDciel or to interface with external program for example to manage your observatory and equipment.
The same scripts can be used as a step in a [[sequence]], or in specific conditions, but this box is a convenient way to create, test and quickly run any script.
To create a new script click the **New** button, a prompt ask you for the script name.
{{:en:documentation:tool_script1.png|}}
This create a new script with the following template, see the full [[jsonrpc_reference|reference documentation]] and how to use the [[[[ccdscript|editor]] for the details.
# Python program for CCDciel
# see: https://www.ap-i.net/ccdciel/en/documentation/jsonrpc_reference
from ccdciel import ccdcielex
The button **Download** allow to get [[install_script|script example]] you can directly use or customize.
To specify the arguments for the script click the button **"..."**. This add an input box where you can type the parameters.\\
{{:en:documentation:tool_script3.png|}}
The **Script list** button open a list of the script that are currently running.\\
If you want to stop one of this script, select the corresponding row and click **Stop selected**
{{:en:documentation:tool_script4.png|}}