
Automation Workshop includes the Execute Script Action that allows elegant integration of JScript, VBScript, and PowerShell scripts as well as batch files directly into the Task.
PowerShell
View PowerShell examples.
- PowerShell scripts require PowerShell 2.0 to be installed. On older operating systems, PowerShell has to be installed using Windows Update or enabled in Programs and Features in the Control Panel.
- PowerShell supports Unicode. However, it has to be enabled individually in each script, by starting the script with the following code:
[Console]::OutputEncoding = [Text.Encoding]::Unicode
JScript
View JScript examples.
- JScript does not support Unicode encoding.
VBScript
View VBScript examples.
- VBScript does not support Unicode encoding.
Batch files
View Batch file examples.
- Batch file scripts do not support Unicode encoding.
- To avoid unnecessary command echoing, it is recommended to start batch file code with:
@Echo off

Few notes…
The script examples provided here will give a good insight into how to use various scripts to create custom automation within the feature-rich framework of Automation Workshop.
First, it must be noted that the script takes its input from dynamic values from the Variable Wizard. Wherever a variable is required, a dynamic value has to be added directly to the script code.
Second, data communication with other scripts is based on screen output. The screen output of the script can be retrieved using the Variable Wizard—it is possible to retrieve either the full screen output or any of the first six output lines separately.
And finally, as the window of the script during execution is not visible, scripting support in the Execute Script Action is limited to non-interactive scripts—scripts that do not require user interaction for their completion. If, however, the script asks for user input or other interaction, the result will be undefined. When the use of interactive scripts is necessary, try using the Run CMD Command Action.
While scripting support is very versatile and allows achieving almost unlimited results, due to script complexities, it is better regarded as a workaround for cases where the standard features of Automation Workshop cannot yet provide a friendly and easy solution.
Discover
Automation Workshop includes many more awesome Triggers and numerous Actions to aid you to automate any repetitive computer or business task by providing state-of-the-art GUI tools.
Help at your fingertips…
If you have any questions, please do not hesitate to contact our support team.