Search found 33 matches

by laurentd
Thu Jan 14, 2021 11:59 am
Forum: Switch
Topic: copy with Process.execute
Replies: 11
Views: 490

Re: copy with Process.execute

Here is another possibility: This is the right command: copy /b path1 + path2 outputPath You can use the Execute command element and point to a .bat file Output: file at path If one file is the Switch job and the other file is a fixed file (eg when you add a header to your file): Arguments: "%1" "%2...
by laurentd
Wed Jan 06, 2021 9:41 am
Forum: PitStop Pro
Topic: masking a page in pitstop
Replies: 4
Views: 196

Re: masking a page in pitstop

Hi Robbie, You need to modify the page boxes of your pdf. If you have a lot of documents to treat, also with variable sizes, you can automate this with PitStop Server (with free Switch Core since PitStop Server 2020) and the LFP PDF Slicer app. It does what you want and a lot more. https://www.enfoc...
by laurentd
Tue Dec 22, 2020 11:09 am
Forum: Flows
Topic: find job repository by variable
Replies: 11
Views: 2276

Re: find job repository by variable

Great, you are welcome Bas!
You can add a review on the Appstore if you like it.
by laurentd
Tue Dec 22, 2020 11:05 am
Forum: PitStop Server
Topic: Enfocus PitStop Server 2020 Barcode with Filename
Replies: 1
Views: 264

Re: Enfocus PitStop Server 2020 Barcode with Filename

Hi Ricardo.
I suppose the document name is only made of digits? (except for the .pdf extension)
You can use the Switch Core Engine that now ships with PitStop Server 2020, edit your variable set in Switch, and use [Job.NameProper] to create your barcode.
Laurent
by laurentd
Mon Dec 21, 2020 4:28 pm
Forum: Flows
Topic: find job repository by variable
Replies: 11
Views: 2276

Re: find job repository by variable

I made an update to Inject Wildcard, now v4. This problem (only seen once) is now fixed (tested with Bas). New feature: the app now checks if the job repository exists, and if it doesn't, the job is sent to the error connection (instead of the problem jobs folder). https://www.enfocus.com/en/appstor...
by laurentd
Thu Dec 10, 2020 4:55 pm
Forum: Applications
Topic: Import XML into Indesign to convert to PDF
Replies: 9
Views: 2469

Re: Import XML into Indesign to convert to PDF

When you manually import an xml in InDesign, you can disable "Show XML Import Options" You can disable this option then save the InDesign template again. On my side it works whether this options was checked or not, but who knows. The first time I ran my flow (on Mac) I also got a dialog telling "osa...
by laurentd
Wed Dec 09, 2020 1:08 pm
Forum: Flows
Topic: Remove files from hierarchy
Replies: 4
Views: 488

Re: Remove files from hierarchy

Have a look at the inject wildcard app, you can inject files when you only have part of the name and you can scan a hierarchy.
https://www.enfocus.com/en/appstore/pro ... t-wildcard
by laurentd
Mon Dec 07, 2020 3:28 pm
Forum: Applications
Topic: Import XML into Indesign to convert to PDF
Replies: 9
Views: 2469

Re: Import XML into Indesign to convert to PDF

It looks like there is a warning dialog open in InDesign (missing links, fonts, etc).
Open your document manually on the Switch server, you should get the same error, then fix it.
For automation, the InDesign document should open without any error or warning.
by laurentd
Mon Nov 30, 2020 5:23 pm
Forum: Switch
Topic: Virual Printer - Entry point
Replies: 4
Views: 656

Re: Virual Printer - Entry point

This is possible with Connect You / Connect ALL icw Switch. First add a submit point to your flow (Switch client module or Switch web services required). Then create a connector with Connect You / Connect ALL, enable PDF creation (virtual printer), and select Enfocus Switch 2017+ as delivery method....
by laurentd
Tue Nov 24, 2020 12:28 pm
Forum: Flows
Topic: Sort PDF data by even and even numbers
Replies: 3
Views: 363

Re: Sort PDF data by even and even numbers

You don't consider the characters before the digits and the extension.
Use .*[13579].pdf$ and .*[24680].pdf$
by laurentd
Tue Nov 10, 2020 5:38 pm
Forum: Flows
Topic: Sort Job Name Proper
Replies: 4
Views: 615

Re: Sort Job Name Proper

The sorting is alphabetically correct, but of course you want to sort the files by number at the end. You will have to add leading zeros. Use a rename job element with these properties: • Files inside job folder: Rename files • Action 1: search and replace, search for -, replace by -00 • Action 2: s...
by laurentd
Tue Nov 10, 2020 10:17 am
Forum: Flows
Topic: Calculate amount
Replies: 5
Views: 650

Re: Calculate amount

The Counter Numberer app can also help you. Add all the values to a counter, and read the total value when you want. It will be attached as private data. You can then reset the counter for the next batch of files, or define the counter names based on one common job property. https://www.enfocus.com/...
by laurentd
Wed Nov 04, 2020 2:57 pm
Forum: PitStop Pro
Topic: Remove object with white background or background with 0% opacity
Replies: 9
Views: 1970

Re: Remove object with white background or background with 0% opacity

You can use the "Remove Invisible Data" action list.
It will do even more that what you are describing.
You can modify it if needed.
by laurentd
Tue Oct 27, 2020 3:11 pm
Forum: Flows
Topic: Calculate time elapsed for job completion
Replies: 3
Views: 603

Re: Calculate time elapsed for job completion

Add an extra folder where you define this private data (time in seconds): JobTime=[Switch.Calculation:Expression="[Job.PrivateData:Key="JobEnd"] - [Job.PrivateData:Key="JobStart"]"] Then to get the processing time in minutes and seconds, use this: for minutes: [Switch.Calculation:Expression="( [Job....
by laurentd
Mon Oct 26, 2020 11:43 am
Forum: Flows
Topic: Calculate time elapsed for job completion
Replies: 3
Views: 603

Re: Calculate time elapsed for job completion

You are subtracting a time from a time. You should subtract an amount of seconds from an amount of seconds. This works: JobStart=[Switch.Calculation:Expression="[Switch.Date:Format="MM",TimeZone="System"] * 31 * 24 * 3600 + [Switch.Date:Format="dd",TimeZone="System"] * 24 * 3600 + [Switch.Date:Forma...