Search found 353 matches

by LasseThid
Thu Mar 26, 2015 3:15 pm
Forum: Flows
Topic: Run length calculation
Replies: 15
Views: 16702

Re: Run length calculation

Aha... so instead of

Code: Select all

var theWidth = theDataset.evalToNumber( ”/xslt/to/width” )
I should type

Code: Select all

var theWidth = theDataset.evalToNumber( ”/order/products/product/width” )
and so on? Should I keep the " or remove them?
by LasseThid
Thu Mar 26, 2015 10:29 am
Forum: Flows
Topic: Run length calculation
Replies: 15
Views: 16702

Re: Run length calculation

Ok, let's see how much I misunderstood of your comments and scripts... :lol: The XML I get looks like this: <?xml version="1.0" encoding="UTF-8"?> <order> <ordernumber>P14166</ordernumber> <system>customerX</system> <products> <product> <filename>P14166_businesscard.pdf</filename...
by LasseThid
Wed Mar 25, 2015 10:25 pm
Forum: Flows
Topic: Run length calculation
Replies: 15
Views: 16702

Re: Run length calculation

Thank you very much for your comments and suggestions. I will look it in to it as soon as I can. Unfortunately JavaScript is still new to me, I started to learn it online about two weeks ago :D , so I need to find some time to analyze your scripts in order to understand them. Regarding the folder na...
by LasseThid
Wed Mar 25, 2015 12:26 pm
Forum: Flows
Topic: Run length calculation
Replies: 15
Views: 16702

Re: Run length calculation

I am using the xml pickup to embed the xml as metadata (Metadata alongside asset) in order to use the metadata to pick up the correct imposition for the job, but I don't know how to access that metadata with a Javascript or if it would be easier to get the information from the xml file. Currently th...
by LasseThid
Tue Mar 24, 2015 8:02 pm
Forum: Flows
Topic: Run length calculation
Replies: 15
Views: 16702

Run length calculation

I'm working on a flow where I get an XML file for each PDF containing amongst other things number of ordered copies, height and width of the product. From this information I need to calculate how many sheets we need to print in order to print the ordered number of copies. As I know the sheet size I ...
by LasseThid
Tue Mar 24, 2015 3:19 pm
Forum: Imposition
Topic: Smartstream causing InDesign to crash
Replies: 4
Views: 10649

Re: Smartstream causing InDesign to crash

The test flow that I set up looks like this: In folder -> HP SmartStream Designer Imposition -> Out folder, with additional folders for logs and errors. When dropping a pdf file in the In folder InDesign would start up and then crash sending the pdf and an xml-file to the logs folder. Today I receiv...
by LasseThid
Wed Mar 11, 2015 6:42 pm
Forum: Imposition
Topic: Smartstream causing InDesign to crash
Replies: 4
Views: 10649

Smartstream causing InDesign to crash

I'm trying to create a Switch flow that will position an incoming pdf on an imposition created by Smartstream, but even at it's simplest form, i.e. a folder for the incoming file, HP Smartstream Imposition and a folder for the output, the only result I get is InDesign crashing. I created the imposit...
by LasseThid
Tue Mar 03, 2015 2:36 pm
Forum: Preflighting
Topic: Switch Developer Server
Replies: 3
Views: 8721

Switch Developer Server

We have purchased a second license for Switch to use as a Developer Server, but as I'm setting it up and moving flows from the Production Server I got some error messages regarding PitStop Server elements. Is it possible to somehow link the PitStop Server elements to the PitStop Server running on th...