cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
barwapk Frequent Member
Frequent Member

MAX documentation and scripting

Hello,

 

I cant find any documentation about MAX and scripting, any examples?

FreeFlow Core EasyStarts v4 has only few aspects.

 

Best Regards

Piotr

Labels (2)
0 Kudos
3 Replies
Account Deactivated

Re: MAX documentation and scripting

There's no scripting as such related to the MAX interface.

 

If you enable the scripting in the HF, it would typically be for converting other data into a manifest which we can then consume.

 

Javier

0 Kudos
barwapk Frequent Member
Frequent Member

Re: MAX documentation and scripting

Can You show any example of scripting in HF and external?

What about documentation of MAX (I have found only for Proces Magager)

 

Best Regards

Piotr

0 Kudos
Account Deactivated

Re: MAX documentation and scripting

The HF and the External scripting functionality works in the same way. I have one sample that I can show a little of (but not the whole thing as it was delivered as part of a professional services installation.

 

Here's the external component configuration:

Screen Shot 2014-10-15 at 8.34.41 AM.png

 

When this node executes we concatenate the path to the script file and the parameters and make a CLI call.

 

Here's the parameters in their entirety:

"$FFin$" "C:\Xerox\FreeFlow\Core\Data\Save Destinations\Pad Barcodes\File - $FFOrder ID$.pdf" "C:\Xerox\FreeFlow\Core\Data\Save Destinations\Pad Barcodes\File - $FFOrder ID$ - merged.pdf" "$FFout$"

 

$FFin$ is the job file.

$FFOrder ID$ is the Manifest Order ID (this is to ensure the referenced files have a unique name)

$FFout$ is the folder into which $FFin$ should be saved after it is modified.

 

This this is a batch file, the parameters are referenced as %1, %2 and %3 within the script.

The Batch file invokes a CLI app to manipulate the file and then moves the file to $FFout$ (referenced as %3 within the batch file).