Search found 137 matches

by laurentd
Mon Feb 26, 2024 8:31 am
Forum: Flows
Topic: sum total from multiple values from privatedata
Replies: 4
Views: 324

Re: sum total from multiple values from privatedata

You can use the Counter - Numberer app, which allows you to create counters independent of jobs. Your first job comes in and creates a new counter, with name equals to a common metadata. Following files come in and increment the counter. At the end you can read the counter value. Using the csv file:...
by laurentd
Mon Feb 26, 2024 8:27 am
Forum: Switch
Topic: the value of the dynamic property 'contentEdit' cannot be converted to a string
Replies: 1
Views: 136

Re: the value of the dynamic property 'contentEdit' cannot be converted to a string

This warning message is generated by Switch, not by the app, but it doesn't affect the result, the correct data is written in the Google Sheet. It appears when you use variables or private data in the Content property, not with fixed values. It is a warning message, not an error message. The job is ...
by laurentd
Mon Feb 19, 2024 5:05 pm
Forum: Flows
Topic: Milestone
Replies: 4
Views: 211

Re: Milestone

Congratulations Freddy!!!
1000x thank you for continuously sharing your vast knowledge!
by laurentd
Thu Jan 25, 2024 12:21 pm
Forum: Flows
Topic: Assemble job getting Job.FileCount wrong
Replies: 2
Views: 554

Re: Assemble job getting Job.FileCount wrong

Have a look at the Ungroup job documentation, page 2
https://www.enfocus.com/en/appstore/product/ungroup-job

You can see that 5 private data keys are added to each file.
"Ungroup" is just the root key.
What you need is Ungroup.NumFiles
by laurentd
Mon Nov 27, 2023 11:08 am
Forum: Flows
Topic: Flow for compose the delivery path from file name
Replies: 4
Views: 15461

Re: Flow for compose the delivery path from file name

Indeed, you can open a case with support here: http://www.enfocus.com/supportportal

But with Magnus' answer, I don't think it will be necessary.

I will add this useful app to consider: StringSplitter
by laurentd
Mon Nov 20, 2023 10:10 am
Forum: Flows
Topic: ".~#~_del_" temp folder names causing a headache
Replies: 4
Views: 8037

Re: ".~#~_del_" temp folder names causing a headache

I found another quite old post mentioning the same problem: https://forum.enfocus.com/viewtopic.php?t=1164 In short, disabling the "safe move" feature should help. Please give it a try. How can we highlight this to Enfocus as a worry? For the record, this forum is a very useful place for d...
by laurentd
Wed Oct 04, 2023 4:45 pm
Forum: Node.js scripting
Topic: Calculations with Switch private data
Replies: 5
Views: 15795

Re: Calculations with Switch private data

priority of mathematical operators!
try this: let ImposeRollPrintOnCutterFloor = await Math.floor( 965 / ( ImposeRoll * ( BleedRoll + Width )));
by laurentd
Wed Oct 04, 2023 3:58 pm
Forum: Node.js scripting
Topic: Calculations with Switch private data
Replies: 5
Views: 15795

Re: Calculations with Switch private data

Hi Jimmy,

let Width: number = parseFloat( await job.getPrivateData("Width") );

And in case Width is a property:
let Width: number = parseFloat(await flowElement.getPropertyStringValue("Width") as string);
by laurentd
Tue Sep 26, 2023 3:25 pm
Forum: Phoenix2Switch
Topic: Controlling maximum roll length
Replies: 3
Views: 67689

Re: Controlling maximum roll length

You can not define the maximum length of roll media that Phoenix nests on via switch,
but you can select the rolls Phoenix can use via Rolls - Select many from library.
by laurentd
Thu Sep 07, 2023 3:53 pm
Forum: Imposition
Topic: Tilia Griffin - Output error message
Replies: 2
Views: 19167

Re: Tilia Griffin - Output error message

Hi Magnus, I tried with a file too large to fit on the substrate. No dataset attached, but the job is sent to the Problem jobs folder. If you check [Job.FailMessage], you get "Nesting session was unsuccessful, sending job to Problem jobs". So you can use this to send a warning, and also [J...
by laurentd
Mon Aug 28, 2023 6:40 pm
Forum: Flows
Topic: Split VDP PDF by Tray or Pallet
Replies: 10
Views: 31655

Re: Split VDP PDF by Tray or Pallet

You can write a script to parse the data you provide, and • duplicate the file as many times as needed • define the first and last page of each section, and the T1-T2-T3 suffix Then you can use the Split PDF pages app as illustrated below. If you provide an XML correctly formatted, no need to script...
by laurentd
Mon Aug 28, 2023 2:36 pm
Forum: Flows
Topic: Split VDP PDF by Tray or Pallet
Replies: 10
Views: 31655

Re: Split VDP PDF by Tray or Pallet

Is there something specific on the page when you change trays?
You could then use Split PDF pages app
by laurentd
Mon Aug 28, 2023 2:18 pm
Forum: Switch
Topic: Number of pages of InDesign-file
Replies: 6
Views: 11218

Re: Number of pages of InDesign-file

Hi Jimmy, You can use an InDesign script for this. You will probably need to output the number of pages value in an xml file, or in the name of the output file. You can convert your InDesign file to a pdf file, define a private data with [Stats.NumberOfPages], then re-inject your InDesign file (prev...