Search found 572 matches

by freddyp
Wed Oct 07, 2020 5:17 pm
Forum: Imposition
Topic: Switch 2020 and Impostrip Pro 2020 with hotfolders
Replies: 2
Views: 2282

Re: Switch 2020 and Impostrip Pro 2020 with hotfolders

Once a file has been deposited in a hierarchy Switch does not hold on to the file, so I see no reason why this should not work. Is the hierarchy on a network drive? Does the writing of the file take a long time so perhaps Impostrip is trying to pick up a file that is not complete and it does not wai...
by freddyp
Wed Oct 07, 2020 9:06 am
Forum: Flows
Topic: Metadata - Paired Dropdown lists
Replies: 4
Views: 1137

Re: Metadata - Paired Dropdown lists

"Client Code" is not a valid xpath. I think you just typed the label of the field in your submit point. You should use the "Build location path" dialog to build the xpath interactively. Then you know it is right. However, the xpath that is built in this way is not particularly smart: it use indexes,...
by freddyp
Tue Oct 06, 2020 8:27 am
Forum: Flows
Topic: Metadata - Paired Dropdown lists
Replies: 4
Views: 1137

Re: Metadata - Paired Dropdown lists

Just add the list as you have written it to the dropdown items of the metadata field. When you then access the metadata value with a single-line text with variables use the After field to specify that you want everything after the space.
by freddyp
Fri Oct 02, 2020 9:07 am
Forum: Node.js scripting
Topic: api call from flow
Replies: 6
Views: 1044

Re: api call from flow

You are using callbacks for the http part, but Switch keeps executing the rest of the script and hits the end before the http call calls the callback function (lots of calling going on here). We are organizing webinar sessions on NodeJS scripting in Switch on October 20th and 22nd (Getting started) ...
by freddyp
Fri Oct 02, 2020 9:04 am
Forum: LEGACY scripting
Topic: UTF-16 in Xml
Replies: 2
Views: 982

Re: UTF-16 in Xml

Many XML files do not have an XML declaration as the first line:

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
That is OK, but then UTF-8 is assumed. Perhaps your XML file does not have such a declaration?
by freddyp
Wed Sep 30, 2020 5:03 pm
Forum: Flows
Topic: Using multiple checkpoints via email in flows
Replies: 1
Views: 610

Re: Using multiple checkpoints via email in flows

Using multiple Checkpoint via mail elements using the same account can work because each element only takes the mails that are relevant for itself. It is possible that a problem occurs when both elements are accessing the mail box at the same time. When they try again the next time it will probably ...
by freddyp
Thu Sep 24, 2020 6:07 pm
Forum: Imposition
Topic: Is there way to have Switch place a file in Indesign?
Replies: 7
Views: 2783

Re: Is there way to have Switch place a file in Indesign?

The action that will give you that behavior is: Scale to fit page size. With the settings in the attached screenshot you should get what you now do via Indesign. Screen Shot 2020-09-24 at 18.04.24.png The width and height values will probably have to be variable. Let me also reiterate my remark that...
by freddyp
Thu Sep 24, 2020 8:45 am
Forum: Imposition
Topic: Is there way to have Switch place a file in Indesign?
Replies: 7
Views: 2783

Re: Is there way to have Switch place a file in Indesign?

What Liv wrote is the way to go but you do not have to use PitStop Pro to achieve that, you can do exactly the same with PitStop Server. It is all about what you do in the action list and these are functionally identical between PitStop Pro and PitStop Server. The question becomes: how do I add 1.5"...
by freddyp
Tue Sep 22, 2020 9:38 am
Forum: Flows
Topic: Separate Spots into Individual PDF
Replies: 7
Views: 1363

Re: Separate Spots into Individual PDF

Would like to have single PDF containing multiple coating and/or die spot separations, divide into individual PDFs for each process for routing to process (if needed) and send to separate vendors. I interpreted that as meaning that you wanted the different spot colors that make up a certain process...
by freddyp
Mon Sep 21, 2020 6:04 pm
Forum: Flows
Topic: Separate Spots into Individual PDF
Replies: 7
Views: 1363

Re: Separate Spots into Individual PDF

Use the option "Select Spot Color by name from list" when using the action "Select spot color" and list all the possible names for a foil or a varnish and all those spots will be selected together and will end up on the same layer. Names of spots that are not present in the file are ignored.
by freddyp
Mon Sep 21, 2020 6:04 pm
Forum: Flows
Topic: Separate Spots into Individual PDF
Replies: 7
Views: 1363

Re: Separate Spots into Individual PDF

Use the option "Select Spot Color by name from list" when using the action "Select spot color" and list all the possible names for a foil or a varnish and all those spots will be selected together and will end up on the same layer. Names of spots that are not present in the file are ignored.
by freddyp
Fri Aug 28, 2020 11:46 am
Forum: LEGACY scripting
Topic: XML-path to string
Replies: 14
Views: 3421

Re: XML-path to string

You can use getChildNodes(), but you can also use evalToNodes(xpath). Both return a NodeList object. evalToNodes is more flexible because it is not only capable of getting the direct children but also other nodes further down the tree. It all depends on the XPath, and the XPath depends on the struct...
by freddyp
Fri Aug 28, 2020 9:00 am
Forum: Flows
Topic: Best way to delete files in a folder older then X?
Replies: 12
Views: 3306

Re: Best way to delete files in a folder older then X?

There are a couple of other outstanding wishes for apps in the "Folder Apps" bundle and Laurent and I would like to tackle them all at the same time. We would also like to take the opportunity to convert all the apps to Node.js. The downside of this message is that it will take a bit longer. We will...
by freddyp
Fri Aug 28, 2020 8:47 am
Forum: LEGACY scripting
Topic: XML-path to string
Replies: 14
Views: 3421

Re: XML-path to string

by freddyp
Fri Aug 28, 2020 8:37 am
Forum: LEGACY scripting
Topic: Pass in/out path to jar file with switchscripter?
Replies: 2
Views: 779

Re: Pass in/out path to jar file with switchscripter?

Code: Select all

var input=job.getPath();
var output=job.createPathWithName(someNameForTheOutput);
//now follows the Java execution
//and when it is done successfully
job.sendToSingle(output); //or sendToData
job.sendToNull(input);