0% found this document useful (0 votes)
38 views3 pages

Documentation - Execute Command Friend English

This app allows users to create script files to use with the Execute Command app in Switch. It allows variables from Switch to be included in script or batch files. The app is triggered by any input and saves the script file in the output folder. It supports file extensions for common script types like .sh, .py, .js, and .bat. The app has properties to set the file type and script code and is compatible with Switch 13 update 1 or higher.

Uploaded by

P L
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views3 pages

Documentation - Execute Command Friend English

This app allows users to create script files to use with the Execute Command app in Switch. It allows variables from Switch to be included in script or batch files. The app is triggered by any input and saves the script file in the output folder. It supports file extensions for common script types like .sh, .py, .js, and .bat. The app has properties to set the file type and script code and is compatible with Switch 13 update 1 or higher.

Uploaded by

P L
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Documentation Execute Command Friend Page 1/3

Execute Command Friend v2

Description
This app will let you create a script file to use with Execute Command. In some cases with
Execute Command you need a few lines of commands to execute the task at hand. This
can be solved with a script or batch file depending on the platform you are on. If that file is
static you are fine with that but if you need Switch variables to be variables in the script file
you need something more to solve your task. This is where Execute Command Friend will
be useful. You can simply copy the content of your script or batch file in to the properties
and add some Switch variables to the script and you are up and running.

This app is triggered by any input file and will save the script file in the output folder, the file
will get the same name as the input job name. You have the option to save the output as
.sh, .py , .js and .bat for the most common use.

Above is an example script for PDF Toolkit that adds a page in between every page in a
PDF.

Color Consult AB | www.colorconsult.se | [email protected] | +46 707 490774


Documentation Execute Command Friend Page 2/3

Compatibility
Switch 13 update 1 and higher. Windows or Mac OSX.

Connections
Execute Command friend can have several input connections but there is only one outgoing
connection. No settings are available of the outgoing connection.

Properties detailed info


There are only two properties to set, first the file extension for the script file output. You can
select .sh, .py, js and .bat.

The second property is the script code.

Flow element properties


• File type, drop down menu.
o .sh
o .py
o .js
o .bat
• Script
o In this field you write your script code that will be saved in to the file, you can
use any available Switch variable as part of the script.

Color Consult AB | www.colorconsult.se | [email protected] | +46 707 490774


Documentation Execute Command Friend Page 3/3

Version history
Version 2 added support for saving javascript files .js. This can be useful for scripts that will
be handled by other applications such as Adobe InDesign.

Color Consult AB | www.colorconsult.se | [email protected] | +46 707 490774

You might also like