Search found 1024 matches

by freddyp
Mon Mar 04, 2019 9:49 am
Forum: Flows
Topic: Unable to add filename to InDesign file
Replies: 2
Views: 3514

Re: Unable to add filename to InDesign file

Check if the resulting file has an empty text frame. If it has, it simply means that the value of $arg1 is empty. $arg1 is the value of the "Argument 1" property, not the name of the file. If you want it to be the name of the file, you have to define "Argument 1" as a single-line...
by freddyp
Mon Feb 25, 2019 4:08 pm
Forum: Flows
Topic: XML Pickup does not pick up on random jobs...
Replies: 8
Views: 8628

Re: XML Pickup does not pick up on random jobs...

The name of the job folder is "3410017 Dr. Jesus Mesones Patricia Ruth Guaraz", so for Switch the name proper is "3410017 Dr". The name of the XML is "3410017 Dr. Jesus Mesones Patricia Ruth Guaraz.xml", so the name proper is "3410017 Dr. Jesus Mesones Patricia Rut...
by freddyp
Tue Feb 19, 2019 9:52 am
Forum: Flows
Topic: Use a "database" without using the database module
Replies: 2
Views: 2926

Re: Use a "database" without using the database module

Have I not already pointed you to the Appstore last week :D

There are two apps that allow you to do a search on a CSV file, which is perfect for a small "database" that is not very dynamic, like the use case that you are describing.
by freddyp
Fri Feb 15, 2019 9:16 am
Forum: Preflighting
Topic: variable script expression
Replies: 4
Views: 8669

Re: variable script expression

Of course! Blind copy&paste error :oops: . Thanks.
by freddyp
Fri Feb 15, 2019 9:12 am
Forum: Flows
Topic: Get modification date for a job file
Replies: 2
Views: 3380

Re: Get modification date for a job file

I logged it as a feature request, but with this code snippet you can add the modification date to the job's private data:

Code: Select all

var modDate = new File( job.getPath()).lastModified;
job.setPrivateData( "ModificationDate", modDate);
by freddyp
Wed Feb 13, 2019 3:30 pm
Forum: Preflighting
Topic: variable script expression
Replies: 4
Views: 8669

Re: variable script expression

Your Xpathquantites variable is not a string. The same for Xpathqrequiredquantity. Even with that out of the way, it will still not work because you define a function but you do not call it. Add choixqte(); as the last line. Alternatively, do not use a function, but in that case, and this is very im...
by freddyp
Mon Feb 04, 2019 1:25 pm
Forum: LEGACY scripting
Topic: Email Body text to XML
Replies: 1
Views: 4077

Re: Email Body text to XML

The body of a mail is available in the variable [Email.Body]. You can extract something out of that by using a regular expression in "Search". For a simple case this can work well. For more advanced cases, have a look at: https://www.enfocus.com/en/appstore/product/txt-pickup
by freddyp
Fri Jun 01, 2018 10:36 am
Forum: Preflighting
Topic: Permanently embed preflight xml in PDF file
Replies: 5
Views: 9679

Re: Permanently embed preflight xml in PDF file

That is what Certified PDF is about. Saving a file as Certified PDF adds information to the XMP section that can be queried for the number of errors in the file, etc. And when opening the file you can immediately open up the Navigator to see the report without (re)preflighting the file. Both in PitS...
by freddyp
Fri May 04, 2018 3:19 pm
Forum: Flows
Topic: Sort Layers by Name in PDF
Replies: 6
Views: 7398

Re: Sort Layers by Name in PDF

For other users of the forum: Zoran has confirmed in the mean time that this problem is now solved.

Freddy
by freddyp
Thu Apr 26, 2018 9:15 am
Forum: Flows
Topic: Sort Layers by Name in PDF
Replies: 6
Views: 7398

Re: Sort Layers by Name in PDF

This is now available as a free app on the Enfocus Appstore: https://www.enfocus.com/en/appstore/product/split-pdf-layers What Padawan describes is indeed theoretically correct, but not reliable in all situations with the v2 XML reports generated by PitStop Server (PDF's with a tree structure of lay...
by freddyp
Fri Jun 23, 2017 1:57 pm
Forum: LEGACY scripting
Topic: Duplicate pages
Replies: 11
Views: 14873

Re: Duplicate pages

Impressive Sander, but how about this solution? ;)
Screen Shot 2017-06-23 at 13.48.48.png
Screen Shot 2017-06-23 at 13.48.48.png (55.18 KiB) Viewed 14861 times
Both your and my solution duplicate pages like this 1234,1234,1234, but perhaps it has to be 111,222,333,444 or still something else? The apps handle it all and in a much simpler way.
by freddyp
Mon May 08, 2017 9:39 am
Forum: Flows
Topic: How do you hold a file until the rest copy?
Replies: 5
Views: 7979

Re: How do you hold a file until the rest copy?

Set the "Folder constraint" property of the outgoing connection of "Hold job" to "Yes" and I am sure you will find what you need.
by freddyp
Wed Apr 12, 2017 11:30 am
Forum: LEGACY scripting
Topic: split an XML to individual nodes using XSLT
Replies: 2
Views: 4374

Re: split an XML to individual nodes using XSLT

The attribute is called OrderID, not Type, so it should be

Code: Select all

@OrderID
instead of

Code: Select all

@Type='OrderID'