Merging Files with common back

Post Reply
MJDS
Newbie
Posts: 15
Joined: Mon Feb 19, 2024 12:19 pm

Merging Files with common back

Post by MJDS »

I have a regular job very week, where there are 9 files.
They are named

Common Back
Front 1
Front 2
Front 3
Front 4
Front 5
Front 6
Front 7
Front 8

Is there a way of combining each of the fronts with the common back file?
rhd_ole
Member
Posts: 103
Joined: Mon Jan 24, 2022 5:36 pm

Re: Merging Files with common back

Post by rhd_ole »

The easiest way would be with Pitstop server with action list an variable set. You could do it without as well by assembling then merging each file with the back

How will the files be named? Meaning is it obvious what file is the back based on the name?
Color Science & Workflow Automation
MJDS
Newbie
Posts: 15
Joined: Mon Feb 19, 2024 12:19 pm

Re: Merging Files with common back

Post by MJDS »

The common reverse always has the word Back in the filename. It does not appear on the front files.
User avatar
magnussandstrom
Advanced member
Posts: 365
Joined: Thu Jul 30, 2020 6:34 pm
Location: Sweden
Contact:

Re: Merging Files with common back

Post by magnussandstrom »

Here is a flow that does what you asking for (zip-file in the bottom).

  • The file names of both fronts and backs must start with the same id followed by an underscore.
  • The file name of the back must contain the word back
Like this:
0001_My filename back.pdf
0001_My first front file.pdf
0001_My second front file.pdf
And so on...


You need to change two things in the flow:
1. The path in the Backsides folder (purple)
2. The variable url_to_backfile in the Enfocus Varible Set add_back. Set it to match the path to the backsides folder (in windows you need to replace backslash with forward slashes).

back1.png
back1.png (121.91 KiB) Viewed 619 times
add_backsides.zip
(44.75 KiB) Downloaded 22 times
MJDS
Newbie
Posts: 15
Joined: Mon Feb 19, 2024 12:19 pm

Re: Merging Files with common back

Post by MJDS »

This works really well thanks for your help
Post Reply