Script


Category: Script



Overview:


The Script action will execute a script written in C#, a structured programming language that uses the .Net runtime.


Clicking the script preview area will bring up a script builder with syntax highlighting.


However, it's probably better to write your scripts using Visual Studio Code, or Visual Studio Community to write your script and test it, then paste it in. You will have a much better editing and debugging experience this way.


If you are going this route, it's probably relevant to you that VoiceWarrior uses the CSScript library to execute scripts.


It's also worth noting here that any kind of script can be run using the Launch command to run an executable with parameters. This might include PowerShell, batch files, Python, Javascript, Java, or any other language that can be executed from the command line.