Search found 1023 matches

by freddyp
Fri Oct 13, 2023 11:00 am
Forum: PitStop Pro
Topic: How to change Spot color Values?
Replies: 5
Views: 5622

Re: How to change Spot color Values?

If all the spot colors are PANTONE, the easiest solution because you do it for all colors in one go is to change the PANTONE library. See also https://forum.enfocus.com/viewtopic.php?p=14934#p14934 . If the spot colors are different you can create your own version of the spot color in the PitStop co...
by freddyp
Fri Oct 13, 2023 10:46 am
Forum: Applications
Topic: HTTP Get Request 5xx response
Replies: 4
Views: 21090

Re: HTTP Get Request 5xx response

Jobs are not active, i.e. they do not take up a processing slot, when they are waiting in front of an element in a fail state. If you have proof of the contrary please report that to support.
by freddyp
Thu Oct 12, 2023 8:43 am
Forum: Applications
Topic: HTTP Get Request 5xx response
Replies: 4
Views: 21090

Re: HTTP Get Request 5xx response

When the HTTP request element receives a 5xx HTTP error it does not crash, but it goes into fail mode. You can see that because there is a red wheel on the element. In the Switch Preferences in the Error handling section there is a setting "Retry failed external processes". That is a value...
by freddyp
Thu Oct 12, 2023 8:35 am
Forum: LEGACY scripting
Topic: Delay Indesign Saving a Document
Replies: 5
Views: 35273

Re: Delay Indesign Saving a Document

The Indesign API has an updateFonts method at the Application level. I am not sure it does what you want but it is worth a try. I have not tested it, but the line should be: app.updateFonts(); There is also a waitForAllTasks method. Could this do the trick? A good site for consulting the complete AP...
by freddyp
Mon Oct 02, 2023 12:58 pm
Forum: Action Lists
Topic: Objects selected by action are not found by the Inspector
Replies: 3
Views: 8232

Re: Objects selected by action are not found by the Inspector

NOT inverts the selection but you must consider that there are other objects than just text, line-art and images: annotations, layers, the page!, ... and when you use NOT you select these objects as well. What you can best do is add Select rendering objects AND after NOT and before the Log selection...
by freddyp
Thu Sep 28, 2023 3:27 pm
Forum: Switch
Topic: Switch2Switch
Replies: 5
Views: 7309

Re: Switch2Switch

Try using Switch2Switch on the local server from flow to flow (or in the same flow, it does not matter). That should work. If it does not you will have to report the problem to support. Assuming for a moment that this will work, it sounds like you have a firewall problem: communication takes place f...
by freddyp
Thu Sep 28, 2023 12:59 pm
Forum: Switch
Topic: Switch2Switch
Replies: 5
Views: 7309

Re: Switch2Switch

So, what is the problem? Any error messages? On the sending side, on the receiving side?
by freddyp
Thu Sep 28, 2023 10:45 am
Forum: Switch
Topic: Switch2Switch
Replies: 5
Views: 7309

Re: Switch2Switch

Assuming you are using the default port numbers, the port number in the URL is wrong: it is 51080 and not 51180.

There is one known limitation that I want to draw your attention to: it is not possible to transfer JSON datasets.
by freddyp
Fri Sep 22, 2023 3:42 pm
Forum: Flows
Topic: Use color picker to set background color?
Replies: 3
Views: 3890

Re: Use color picker to set background color?

You can pick a color value from a pixel with Imagemagick: magick image.png -format "%[fx:int(255*p{150,30}.r)],%[fx:int(255*p{150,30}.g)],%[fx:int(255*p{150,30}.b)]" info: This will give you an output like: 139,165,224 p{150,30} is the pixel of which you read the value. The problem that I ...
by freddyp
Wed Sep 20, 2023 3:51 pm
Forum: Switch
Topic: Length of variable
Replies: 4
Views: 6131

Re: Length of variable

I am interested in hearing what the use case is.

If the number of possibilities is limited you could create a condition with variables where you match the variable with .{3} for three characters etc. On the outgoing connection folder you can then set private data with the number.
by freddyp
Tue Sep 12, 2023 10:25 am
Forum: Action Lists
Topic: Action not showing correct results
Replies: 4
Views: 7270

Re: Action not showing correct results

The thoughts I have: good job!
by freddyp
Fri Sep 08, 2023 1:32 pm
Forum: Node.js scripting
Topic: Logging of variable
Replies: 6
Views: 7811

Re: Logging of variable

The reason that the logging of an encoded URL does not work hangs together with the way in which the logging works. If you look at the documentation you will see that the log method takes 3 parameters: a log level, a log string and an array of strings for replacement in the log string: let replaceme...
by freddyp
Tue Sep 05, 2023 9:58 am
Forum: Flows
Topic: Switch NodeJS Webhook not reaching Switch
Replies: 2
Views: 1610

Re: Switch NodeJS Webhook not reaching Switch

When sending to a webhook that is started by a NodeJS script the URL that has to be defined on the sending side is different than what is was in legacy. The default Webhook app v6 is legacy, as of v7 it is NodeJS. When you log in on MyEnfocus and you check the default apps on your Switch and you loo...
by freddyp
Tue Sep 05, 2023 8:53 am
Forum: Flows
Topic: Split VDP PDF by Tray or Pallet
Replies: 10
Views: 34841

Re: Split VDP PDF by Tray or Pallet

Perhaps another way could be to use find text with a Pitstop action where you find and log the selection. Then use the XML-report somehow to split based on when the text changes from T1 to T2 etc. Have not done it but could maybe be a path to take. There is no need to "use the XML report someh...
by freddyp
Mon Sep 04, 2023 5:27 pm
Forum: Switch
Topic: sfv checksum creator and reader
Replies: 1
Views: 3993

Re: sfv checksum creator and reader

Creating an SFV file is pretty easy, and so is calculating a checksum in NodeJS, but can you please explain how you want to use it? SFV files contain an CRC checksum, but what about an MD5 hash?