Trigger action to creat or pick up PDF

Post Reply
Chrissigge
Newbie
Posts: 19
Joined: Mon Jun 01, 2015 8:05 am
Location: Switzerland

Trigger action to creat or pick up PDF

Post by Chrissigge »

Hello,
I want to trigger an action that pick up an PDF from a Folder every time an XML arrives,
that PDF should also be renamed with the XML Filename that triggered that action.

Is that possible without scripting? We have a scripting module but Im not (yet) familiar with it.

Thank you for your help.
sander
Advanced member
Posts: 228
Joined: Wed Oct 01, 2014 8:58 am
Location: The Netherlands

Re: Trigger action to creat or pick up PDF

Post by sander »

You want to pickup the same pdf every time?

If not, is the name of the pdf in the xml file?

Both can be done without scripting :mrgreen:
Part of my playground:
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.

Chat: open-automation @ gitter
Chrissigge
Newbie
Posts: 19
Joined: Mon Jun 01, 2015 8:05 am
Location: Switzerland

Re: Trigger action to creat or pick up PDF

Post by Chrissigge »

sander wrote:You want to pickup the same pdf every time?

If not, is the name of the pdf in the xml file?

Both can be done without scripting :mrgreen:

Hello Sander,
I want to pick up the same PDF file every time.

How do I do it?
sander
Advanced member
Posts: 228
Joined: Wed Oct 01, 2014 8:58 am
Location: The Netherlands

Re: Trigger action to creat or pick up PDF

Post by sander »

If I get you right this would work:
Image
Part of my playground:
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.

Chat: open-automation @ gitter
freddyp
Advanced member
Posts: 413
Joined: Thu Feb 09, 2012 3:53 pm

Re: Trigger action to creat or pick up PDF

Post by freddyp »

With one slight addition: if the injected file keeps its own name, then there is no problem, but if it is named after the incoming job the injected PDF will also have the extension of the incoming job, in this case xml. That is not what you want. Add a rename after the inject to change the extension to pdf again and you are done.
sander
Advanced member
Posts: 228
Joined: Wed Oct 01, 2014 8:58 am
Location: The Netherlands

Re: Trigger action to creat or pick up PDF

Post by sander »

Hence... That's true! I use that after a lot of my injects haha.

Thanks for the addition Freddy!
Part of my playground:
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.

Chat: open-automation @ gitter
Chrissigge
Newbie
Posts: 19
Joined: Mon Jun 01, 2015 8:05 am
Location: Switzerland

Re: Trigger action to creat or pick up PDF

Post by Chrissigge »

sander wrote:If I get you right this would work:
Image

Thanks too you both, it works.
Post Reply