Search found 1023 matches

by freddyp
Mon Jan 20, 2020 5:02 pm
Forum: Flows
Topic: Converting HEIC to JPG
Replies: 4
Views: 5200

Re: Converting HEIC to JPG

ImageMagick has support for the HEIC format so you do not require Photoshop to do the conversion.
by freddyp
Mon Jan 20, 2020 5:00 pm
Forum: Preflighting
Topic: Limiting inking rate
Replies: 1
Views: 4851

Re: Limiting inking rate

PitStop Server comes with dozens of device links that can do color transformations including reducing the TAC value. Just create an Action List, add the action "Apply Devicelink", choose the CMYK color space and finally choose from the list. You can test it in PitStop Pro and when you are ...
by freddyp
Mon Jan 20, 2020 3:15 pm
Forum: Flows
Topic: HTTP Response to EMAIL Body
Replies: 4
Views: 4601

Re: HTTP Response to EMAIL Body

The "HTTP request" element gives you the possibility to attach the reply from the web server as a dataset. The "Send mail" element gives you the possibility to choose a dataset as the body of the mail.
by freddyp
Wed Jan 15, 2020 9:55 am
Forum: Flows
Topic: Assemble Jobs Based on Total Page Count
Replies: 5
Views: 8752

Re: Assemble Jobs Based on Total Page Count

Do you want the waiting files to continue when there are at least 600? Or do you want to let 600 pages go through and let the other wait until there is again a batch of 600? More concretely, suppose you receive a PDF of 200 pages, a PDF of 300 pages and then one of 800 pages. What has to happen? The...
by freddyp
Thu Jan 09, 2020 11:07 am
Forum: Flows
Topic: Submit point metadata, field list value
Replies: 3
Views: 4538

Re: Submit point metadata, field list value

One possible approach is to use this XPath:

Code: Select all

//field[@Id='spMF__2_693']/value
for the first metadata and the other Id number for the second.

Copy and paste this into the edit field underneath "XML location path".
by freddyp
Tue Dec 10, 2019 2:36 pm
Forum: LEGACY scripting
Topic: job.getPath() can't find the file
Replies: 6
Views: 10323

Re: job.getPath() can't find the file

job.getPath() will most likely contain spaces so you have to quote the value when using it on the command line:

Code: Select all

var myJob = "\"" + job.getPath() + "\"";
The same goes for any other file path on the command line.
by freddyp
Tue Dec 03, 2019 11:57 am
Forum: Flows
Topic: Retreive info with ImageMagick
Replies: 3
Views: 4617

Re: Retreive info with ImageMagick

I wonder if there is an app for that? :lol:
by freddyp
Wed Nov 20, 2019 12:45 pm
Forum: LEGACY scripting
Topic: hold a job with scriptitng
Replies: 1
Views: 3468

Re: hold a job with scriptitng

And where is the info of what jobs have been validated or not? Do you know upfront how many jobs there are?
by freddyp
Wed Nov 20, 2019 9:03 am
Forum: LEGACY scripting
Topic: [SOLVED]Remove Quotes from Textfile
Replies: 2
Views: 3974

Re: Remove Quotes from Textfile

Instead of using a string to be replaced you should use a global regular expression to be replaced:

Code: Select all

var outputFileText = inputFileText.replace(/\"/g,'');
by freddyp
Tue Nov 19, 2019 1:19 pm
Forum: LEGACY scripting
Topic: how to remove an attribute from a xml node?
Replies: 5
Views: 6253

Re: how to remove an attribute from a xml node?

This is from the documentation of the Element class: removeAttribute( qualified-name : String, prefix-map : Map ) Removes the attribute with the specified qualified name. If the qualified name includes a prefix, it is resolved using the map in the second argument, otherwise the second argument may b...
by freddyp
Tue Nov 19, 2019 1:19 pm
Forum: LEGACY scripting
Topic: how to remove an attribute from a xml node?
Replies: 5
Views: 6253

Re: how to remove an attribute from a xml node?

This is from the documentation of the Element class: removeAttribute( qualified-name : String, prefix-map : Map ) Removes the attribute with the specified qualified name. If the qualified name includes a prefix, it is resolved using the map in the second argument, otherwise the second argument may b...
by freddyp
Mon Nov 04, 2019 2:19 pm
Forum: Flows
Topic: Release a certain number of files at the time at a specific interval
Replies: 7
Views: 7993

Re: Release a certain number of files at the time at a specific interval

There is "Assemble job" but that puts everything in a folder and you loose the job tickets of all the jobs that go into the folder. And there is the app "Hold job groups" that works a bit like "Assemble job" but it does not assemble.
by freddyp
Thu Oct 24, 2019 5:15 pm
Forum: LEGACY scripting
Topic: pdftk proctected PDFs
Replies: 2
Views: 4063

Re: pdftk proctected PDFs

I have a flow that works with the second variant. Check the other properties of "Execute command". Did you use "File at path" for the "Output" property? The default is "None" and then you get nothing.
by freddyp
Thu Oct 24, 2019 12:52 pm
Forum: Flows
Topic: Regular expression to determine ratio image with conditions
Replies: 3
Views: 3907

Re: Regular expression to determine ratio image with conditions

You have to use Switch - Calculation in the left-hand part of the condition in which you do the math using variables, and the operator will be "Greater than" and the right-hand part is 60. The left-hand part of your condition will look something like this: [Switch.Calculation:Expression=&q...
by freddyp
Fri Oct 11, 2019 10:36 am
Forum: LEGACY scripting
Topic: Using JS To Add Email Addresses
Replies: 6
Views: 13215

Re: Using JS To Add Email Addresses

You are on the right track. The only thing you still have to do is to send the job to the output folder. In your case a single output connection will be enough, so in the properties of the script you define it as having just one output connection and the end of the jobArrived function you add: job.s...