Automation for Actinic: How do you call different external programs for each site?

Automation for Actinic: How do you call different external programs for each site?

To do this you need to create a batch file and setup the different program calls for each site.

The following example shows how to do this:

1 Create a batch file that does different actions depending upon the site being processed. An example is shown below:

---------------------------------------
REM Batch file to call different programs for each site.
echo off
REM replace the site1 and site2 with your site names if different.
if "%1" == "site1" goto site1label
if "%1" == "site2" goto site2label
goto endlabel

:site1label
REM Site 1 processing (if calling another batch file use Call before batch file name).
echo "Processing site 1"

REM do your processing here.

goto endlabel

:site2label
REM Site 2 processing (if calling another batch file use Call before batch file name).
echo "Processing site 2"

REM do your processing here.

goto endlabel

:endlabel

----------------------------------------------------------------

2 In The Order Processing tab (in the Automation for Actinic Options) enter the program to run as

cmd /c "c:\siteprocessing\processsite.cmd "

where c:\siteprocessing\processsite.cmd is the name of the batch file (an example shown above).

At runtime the <Site> is replaced with the current site name.