I have been asked to convert a PlanetPress process to +PReS Enhance project.

In my PlanetPress process I create a multiline text file using javascript that creates a verification file for our mail insertion machinery, this takes the relevant information from the metadata (address, sheets in document etc).

Using JavaScript in PlanetPress I would create this with code similar to:

var FSO = new ActiveXObject("Scripting.FileSystemObject");

When I use similar code in the PReS 'Execute Script' component I get errors, for instance "ActiveXObject cannot be resolved to a type".

Could you give me an example of creating a file using the PReS Execute Script component?

I am using a trial version of +PReS Enhance Designer Version 2.4