Search found 142 matches

by laurentd
Fri Apr 08, 2022 10:14 am
Forum: PitStop Pro
Topic: page size check
Replies: 4
Views: 3303

Re: page size check

Certainly, we call that Smart Preflight.
You can find a tutorial on our e-learning platform:
https://www.enfocus.com/en/learn/pitstop#advanced
by laurentd
Wed Apr 06, 2022 6:06 pm
Forum: PitStop Pro
Topic: Fonts in “safety” area
Replies: 2
Views: 1806

Re: Fonts in “safety” area

This action list will do what you want:
Select text outside of art box.png
Select text outside of art box.png (65.77 KiB) Viewed 1798 times
by laurentd
Tue Feb 22, 2022 12:05 pm
Forum: Node.js scripting
Topic: SOAP call with node.js
Replies: 8
Views: 6243

Re: SOAP call with node.js

The easiest option will be to use one of the npm packages for this.
https://www.npmjs.com/search?q=soap
by laurentd
Tue Feb 22, 2022 11:47 am
Forum: Flows
Topic: read the number of images
Replies: 1
Views: 1440

Re: read the number of images

You can use [Job.FileCount] to get the number of files in a job folder The number of files in the job, i.e. 1 if the job is a single file, and if it is a job folder, the number of files in the job folder and any subfolders, recursively (folders and subfolders themselves do not contribute to the coun...
by laurentd
Tue Feb 08, 2022 7:44 pm
Forum: Flows
Topic: Compare page count and route job accordingly
Replies: 3
Views: 2625

Re: Compare page count and route job accordingly

Here is a flow to solve this: • First ungroup the job and write the number of pages of each file in a private data, "pages". • Assemble the job with metadata merge, the "pages" private data will be the one of one of the files in the job. • Ungroup the job again, and check if the ...
by laurentd
Thu Jan 27, 2022 5:25 pm
Forum: PitStop Server
Topic: Cut pdf into equal parts
Replies: 1
Views: 6622

Re: Cut pdf into equal parts

Yes, there is an app for that, the LFP PDF Slicer. https://www.enfocus.com/en/appstore/product/lfp-pdf-slicer If you use PitStop Server, you can also install the Switch Core module and use apps. We did two webinars about the new possibilities this opens: https://www.enfocus.com/en/learn/pitstop/all?...
by laurentd
Thu Jan 27, 2022 5:24 pm
Forum: Action Lists
Topic: Cut pdf into equal parts
Replies: 1
Views: 3440

Re: Cut pdf into equal parts

Yes, there is an app for that, the LFP PDF Slicer. https://www.enfocus.com/en/appstore/product/lfp-pdf-slicer If you use PitStop Server, you can also install the Switch Core module and use apps. We did two webinars about the new possibilities this opens: https://www.enfocus.com/en/learn/pitstop/all?...
by laurentd
Mon Jan 24, 2022 10:49 am
Forum: Flows
Topic: Is using a wildcard in an XML path for a flow condition possible?
Replies: 8
Views: 5878

Re: Is using a wildcard in an XML path for a flow condition possible?

Use Metadata.TextIndexed, it will return you all Name values in one go.
[Metadata.TextIndexed:Path="/Job/Operations/Operation/Name",Dataset="Xml",Model="XML"]
Then use a condition to check if it contains the string you want.
by laurentd
Wed Jan 19, 2022 8:00 pm
Forum: Flows
Topic: Check if files exist inside folder, send mail if not.
Replies: 9
Views: 8888

Re: Check if files exist inside folder, send mail if not.

v2 of Scan hierarchy is now live:
Job is now sent to the error connection if the hierarchy top folder is not found
by laurentd
Mon Jan 17, 2022 4:55 pm
Forum: Flows
Topic: Split XML based on field value
Replies: 8
Views: 7720

Re: Split XML based on field value

When you have the order sizes like this in your input file (or after some transformation, which is the case) <orderedSizes> <orderedSize>M</orderedSize> <orderedSize>L</orderedSize> <orderedSize>XL</orderedSize> </orderedSizes> Then you can use the Variable XPath Repeater app to loop into each order...
by laurentd
Mon Jan 17, 2022 10:07 am
Forum: Node.js scripting
Topic: Stats.NumberOfPages
Replies: 8
Views: 13247

Re: Stats.NumberOfPages

The PdfDocument and PdfPage classes were introduced with Switch 2021 Spring.
This will update the type definition:
npm i @types/switch-scripting@1.1.0
by laurentd
Mon Jan 17, 2022 9:45 am
Forum: Flows
Topic: Check if files exist inside folder, send mail if not.
Replies: 9
Views: 8888

Re: Check if files exist inside folder, send mail if not.

I wrote both Inject Wildcard and Scan hierarchy. A large part of the code is common, but Inject Wildcard will look for files and/or folders and inject them in the flow, while Scan hierarchy will look for file(s) or folder(s) and attach the path(s) as private data (if only one result) or dataset, so ...
by laurentd
Fri Jan 14, 2022 9:44 am
Forum: Node.js scripting
Topic: Stats.NumberOfPages
Replies: 8
Views: 13247

Re: Stats.NumberOfPages

Here is an example how to use PdfDocument and PdfPage classes on our EnfocusSW GitHub:

https://github.com/EnfocusSW/PdfProperties
by laurentd
Mon Jan 10, 2022 11:45 am
Forum: Flows
Topic: Inject Wildcard job repository error to Warning/Error connection?
Replies: 5
Views: 3161

Re: Inject Wildcard job repository error to Warning/Error connection?

Hello,
I wrote Inject Wildcard.
Can you please provide me the wrong symbols you know, so that I can reproduce this?
by laurentd
Wed Dec 15, 2021 9:08 am
Forum: PitStop Pro
Topic: Remove pages 3 to N on PDF
Replies: 2
Views: 2621

Re: Remove pages 3 to N on PDF

Easy, here is the action list:
  • Select all
  • Select page range: 3-R1 (add R to count from the back of the document)
  • Remove pages