Search found 58 matches

by r.zegwaard
Thu Feb 14, 2019 9:51 pm
Forum: Scripting
Topic: Looping through private data and adding to file name suffix
Replies: 2
Views: 39

Re: Looping through private data and adding to file name suffix

This should do the trick :) // get a list of all privatedata-tags pdkList = job.getPrivateDataTags(); // create an empty array for found values valueList=[]; // Itterate privatedata key's for (i=0;i<pdkList.length;i++) { // Check if it starts with "Key " if(pdkList[i].find('Key ') == 0){ // Add valu...
by r.zegwaard
Thu Feb 14, 2019 8:38 am
Forum: Switch
Topic: How to avoid overwriting IPTC data when using XMP inject?
Replies: 2
Views: 68

Re: How to avoid overwriting IPTC data when using XMP inject?

Never used XMP-data, but i guess you could first pickup the entire xmp-data. Then modify it and inject it.
by r.zegwaard
Thu Feb 14, 2019 8:32 am
Forum: Preflighting
Topic: variable script expression
Replies: 3
Views: 66

Re: variable script expression

Code: Select all

if qauntites != "" {
Place brackets in the if statement

Code: Select all

if (qauntites != "") {
by r.zegwaard
Wed Jan 30, 2019 8:14 am
Forum: Flows
Topic: Exporting metadata
Replies: 4
Views: 157

Re: Exporting metadata

Using Pack / Unpack you can save / restore all metadata for a job.
Note that you can unpack a packed-job only once...
by r.zegwaard
Wed Jan 23, 2019 5:25 pm
Forum: Switch
Topic: Define single-linge text with variables (Build Location path)
Replies: 3
Views: 216

Re: Define single-linge text with variables (Build Location path)

If you use "//Publication/Name" you should find all "Publication" nodes with a child "Name"
Thats because of the double slash
by r.zegwaard
Wed Jan 23, 2019 5:22 pm
Forum: Preflighting
Topic: Pitstop Preflight for checking page with specific ratio
Replies: 2
Views: 128

Re: Pitstop Preflight for checking page with specific ratio

In Switch you could calculate the ratio without Pitstop by using:
[Switch.Calculation:Expression="[Stats.TrimBoxHeight:Type="Defined",Precision="1"] / [Stats.TrimBoxWidth:Type="Defined",Precision="1"]"]

If you use this calculation in a condition, you can quite easy filter wrong ratio's
by r.zegwaard
Tue Jan 22, 2019 7:17 am
Forum: Flows
Topic: Length of lines?
Replies: 3
Views: 160

Re: Length of lines?

I'm interested in this also... So if there is a solution, please share it :) :D
by r.zegwaard
Mon Jan 07, 2019 8:19 am
Forum: Action Lists
Topic: First page empty after "reorder pages"
Replies: 8
Views: 457

Re: First page empty after "reorder pages"

In an actionlist you can only paste objects to a page behind the page it was copied form.
So you can copy from page 1 to 2 or 3
But not from page 2 or 3 to page 1
by r.zegwaard
Mon Jan 07, 2019 7:47 am
Forum: Flows
Topic: To split double page pdf file into single page
Replies: 3
Views: 237

Re: To split double page pdf file into single page

I know Callas pdfToolbox (Server) has an option for this, but with PItstop (server) it should also be possible.
by r.zegwaard
Wed Jan 02, 2019 3:03 pm
Forum: Scripting
Topic: File count to report writing
Replies: 4
Views: 244

Re: File count to report writing

First you should write a scripts which processes the incomming files. It should open the csv-file and read the number of lines in it. Then append this number and the job-name in another csv-file. Both number and the job-name should be on the same line and separated by a comma, tab or semi-colon. The...
by r.zegwaard
Thu Dec 20, 2018 8:53 am
Forum: Flows
Topic: Flow to merge a template with a page from a multi page pdf
Replies: 4
Views: 308

Re: Flow to merge a template with a page from a multi page pdf

My logic would be:
- Split PDF
- Ungoup the folder-job to get separate pdf-jobs
- Inject the template-pdf's
- Assemble pdf and template to a new folder-job. Based on the metadata
- Merge the created folder-job to pdf
by r.zegwaard
Mon Dec 17, 2018 7:45 am
Forum: Scripting
Topic: Variables in an XML location path
Replies: 3
Views: 329

Re: Variables in an XML location path

1st question: Try this: var xpathString = "[Metadata.TextIndexed:Path=\"/cXML/Request/OrderRequest/ItemOut["+theVariable+"]/ItemID/SupplierPartAuxiliaryID\",Dataset=\"Xml\",Model=\"XML\"]"; 2nd: You should open the XML-file and do a xpath-query to get the filename. // theValue -> the line-number to ...
by r.zegwaard
Mon Dec 10, 2018 4:43 pm
Forum: Switch
Topic: variables defined: Calculates find format size (Width)
Replies: 1
Views: 271

Re: variables defined: Calculates find format size (Width)

Hi,

You could do a "Switch calculation" like this:
[Switch.Calculation:Expression="[Metadata.Rational:Path="/Input/Width_mm",Dataset="Advert",Model="XML"]+ 10"]
by r.zegwaard
Thu Dec 06, 2018 11:35 am
Forum: Applications
Topic: HP configurator stops by TypeError
Replies: 3
Views: 356

Re: HP configurator stops by TypeError

It might have something to do with the process which starts Indesign.
Is Indesign started as part of your boot-sequence, or is it started by a Switch-flow?
I guess the last options works, while the first don't.