IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#49058 - 08/18/14 03:20 AM PReS Execute Script
DGlaister Offline
OL Newbie

Registered: 06/30/08
Posts: 9
Loc: Coulsdon UK
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");
fileOutput=FSO.CreateTextFile(“C:\\Test\\Test.txt”);
fileOutput.WriteLine(“Test”);
fileOutput.Close();

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

Top
#53949 - 09/15/16 01:14 AM Re: PReS Execute Script [Re: DGlaister]
evelynguerrero Offline
OL Newbie

Registered: 09/15/16
Posts: 1
This is very helpful for the people. I am a student and i am busy with my academic work .I got the guidelines from the internet and other resources for completing my academic work. I search and find new resources for my writing. Without good guidelines and information we cannot write the article, academic work. I hope i will get new ideas from this forum.
_________________________
custom essay writing service

Top