Search found 21 matches

by Qpdv
Mon Sep 07, 2020 1:33 pm
Forum: LEGACY scripting
Topic: Save new file as UTF-8
Replies: 1
Views: 1105

Save new file as UTF-8

I've got the following script to convert all semicolons to commas: function jobArrived( s : Switch, job : Job) { var tempFile = job.createPathWithExtension(job.getExtension()); var myFile = new File(tempFile); var InputPath = job.getPath(); var inputFileText = File.read(InputPath, "UTF-8"); var outp...
by Qpdv
Wed Dec 14, 2016 4:27 pm
Forum: LEGACY scripting
Topic: Writing data to IPTC
Replies: 6
Views: 4548

Re: Writing data to IPTC

Works!

Thanks!
by Qpdv
Tue Dec 13, 2016 1:21 pm
Forum: LEGACY scripting
Topic: Writing data to IPTC
Replies: 6
Views: 4548

Re: Writing data to IPTC

Thanks, I'm going to try this.
by Qpdv
Tue Dec 13, 2016 10:29 am
Forum: LEGACY scripting
Topic: Writing data to IPTC
Replies: 6
Views: 4548

Re: Writing data to IPTC

We're struggling to maintain some data in a job after its been injected. We tested it with a pdf and it keeps that data. so the question is, is i possible to write the iptc data to a (pdf) job via a script and if its possible how can i do it?

Thanks,

Peter
by Qpdv
Tue Dec 13, 2016 8:17 am
Forum: LEGACY scripting
Topic: Writing data to IPTC
Replies: 6
Views: 4548

Re: Writing data to IPTC

No one?
by Qpdv
Mon Dec 12, 2016 9:16 am
Forum: LEGACY scripting
Topic: Writing data to IPTC
Replies: 6
Views: 4548

Writing data to IPTC

Hi,

Does anyone know how to write IPTC data (title) to a job via a script?

thanks!
by Qpdv
Thu Dec 08, 2016 12:57 pm
Forum: Flows
Topic: Inject job keep Private data
Replies: 11
Views: 6089

Re: Inject job keep Private data

Only: [Job.NameProper]
by Qpdv
Thu Dec 08, 2016 12:07 pm
Forum: Flows
Topic: Inject job keep Private data
Replies: 11
Views: 6089

Re: Inject job keep Private data

Screen Shot 2016-12-08 at 12.02.56.png
Screen Shot 2016-12-08 at 12.02.56.png (18.89 KiB) Viewed 6078 times
by Qpdv
Thu Dec 08, 2016 11:57 am
Forum: Flows
Topic: Inject job keep Private data
Replies: 11
Views: 6089

Re: Inject job keep Private data

Even from the job thats injected?
by Qpdv
Thu Dec 08, 2016 11:40 am
Forum: Flows
Topic: Inject job keep Private data
Replies: 11
Views: 6089

Re: Inject job keep Private data

Yes that thats the one.
by Qpdv
Thu Dec 08, 2016 11:30 am
Forum: Flows
Topic: Inject job keep Private data
Replies: 11
Views: 6089

Re: Inject job keep Private data

What exactly do you mean by static job repository?
by Qpdv
Thu Dec 08, 2016 11:03 am
Forum: Flows
Topic: Inject job keep Private data
Replies: 11
Views: 6089

Inject job keep Private data

Hi,

I'm trying to inject a job but i need the private data in that job. But when i inject it its gone.

Thanks

Peter
by Qpdv
Thu Dec 01, 2016 9:06 am
Forum: Flows
Topic: Xml Pickup File Patterns
Replies: 1
Views: 1785

Xml Pickup File Patterns

Hi, We use an external imposition tool which automatically impositions pdf files. We place the pdf files in a folder and they get processed. To report back to the client about the imposition the imposition tool modifies the pdf file name slightly so that the user gets informed about the imposition q...
by Qpdv
Mon Oct 10, 2016 11:43 am
Forum: Flows
Topic: Download multiple pdf files from one XML
Replies: 1
Views: 1492

Download multiple pdf files from one XML

I receive an XML file from my client and within that xml file there can be multiple items like business cards, letterheads but also items with a separate inside and cover pdf file. I currently have a flow where i can only download one of the files. How can i download all these files and process them...
by Qpdv
Tue Apr 26, 2016 5:38 pm
Forum: LEGACY scripting
Topic: How to load an external xml into script
Replies: 2
Views: 3126

How to load an external xml into script

Hello, I need to create an order xml. Somewhere on the serve i have a base xml file which i would like to load, then change some values and store that xml as private data in the job. First i tried to load the xml via XMLHttpRequest (which didn't work... obviously :D ). Now i have xmlDoc = new Docume...