> For the complete documentation index, see [llms.txt](https://beyondcompare.gitbook.io/project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://beyondcompare.gitbook.io/project/other/how-to-write-your-first-script.md).

# How to write your first script

&#x20;When scripting, you can start by copying one from [these examples](https://www.scootersoftware.com/v4help/index.html?sample_scripts.html) and then fine tune it using the [comprehensive list of syntax](https://www.scootersoftware.com/v4help/index.html?scripting_reference.html).

The list of script commands in Beyond Compare is a sub-subset of the GUI commands.<br>
