Search found 1017 matches

by freddyp
Mon Dec 04, 2023 1:49 pm
Forum: Node.js scripting
Topic: Packed script have different behavior than script folder
Replies: 2
Views: 26507

Re: Packed script have different behavior than script folder

There are npm packages that do a postprocessing after installation, usually to build something. This build process is of course dependent on the operating system. So when you install the package on Windows and it builds correctly it will work on Windows, and if you do the same on Mac it will work on...
by freddyp
Fri Dec 01, 2023 9:44 am
Forum: Node.js scripting
Topic: REST API GET/POST calls within Switch workflow via "Script Element"
Replies: 2
Views: 15570

Re: REST API GET/POST calls within Switch workflow via "Script Element"

In a script element you point to an .sscript file, not to a JS file. Either that file is in a script folder with a size of 0 bytes. Or it is a packed script file in which case it has a certain size and it is a standalone package. You can pack the script folder using the SwitchScriptTool (run the too...
by freddyp
Thu Nov 30, 2023 5:29 pm
Forum: Switch
Topic: Unpack Script Errors
Replies: 2
Views: 23988

Re: Unpack Script Errors

Please report this to support: https://enfocus.my.site.com/customers/s/
by freddyp
Thu Nov 30, 2023 5:27 pm
Forum: Action Lists
Topic: Check if Pdf consists only of images or vectors.
Replies: 3
Views: 21640

Re: Check if Pdf consists only of images or vectors.

The operator AND is not needed and the double select all is not either, just
Select all
Check number of images
Check number of paths
by freddyp
Thu Nov 30, 2023 3:59 pm
Forum: Action Lists
Topic: How to exclude objects inside forms?
Replies: 4
Views: 18018

Re: How to exclude objects inside forms?

You want to change 100K objects that are not part of a form that is a transparency group. The ideal solution would be: Select objects that are not in a transparency group Select fill color AND Change fill color However, there is no action "Select objects that are (not) in a transparency group&q...
by freddyp
Mon Nov 27, 2023 4:08 pm
Forum: Action Lists
Topic: Check if Pdf consists only of images or vectors.
Replies: 3
Views: 21640

Re: Check if Pdf consists only of images or vectors.

There can be other objects that you do not see. Select all objects and at the top of the Inspector you will see the types of the selected objects. Or use the Object Browser from the PitStop Pro menu. Both are often very enlightening. Another tip perhaps: the logo is probably present in a certain par...
by freddyp
Fri Nov 17, 2023 12:55 pm
Forum: Flows
Topic: HTTP request (square brackets in JSON conflicts with Switch variables)
Replies: 6
Views: 17415

Re: HTTP request (square brackets in JSON conflicts with Switch variables)

There was a problem with application/octet-stream always being added in case of a POST, thus overwriting the custom header value. There will be a beta version of HTTP request v20 next Tuesday. If you are on the list of beta users you will receive a notification of that. If not, send me a mail and I ...
by freddyp
Thu Nov 16, 2023 6:13 pm
Forum: PitStop Server
Topic: Pitstop changes "Title" in PDF
Replies: 1
Views: 14600

Re: Pitstop changes "Title" in PDF

PitStop does not change the Title of a PDF document automatically. You can do that in a Preflight Profile or an Action List, so the first thing to do is to check them for the presence of such a change. However, there is something else that could play a role here. Traditionally information about the ...
by freddyp
Thu Nov 16, 2023 5:53 pm
Forum: Applications
Topic: Error when updating default apps
Replies: 1
Views: 18174

Re: Error when updating default apps

We are gradually porting all default apps to Node.js. There are obviously some differences between the legacy setup of the and the Node.js setup and one of them is that the legacy elements had hidden properties that are not used in the Node.js environment. So, when updating an app Switch sees that t...
by freddyp
Tue Nov 14, 2023 6:45 pm
Forum: Switch
Topic: Execute Command
Replies: 10
Views: 15280

Re: Execute Command

There is a flaw in the setup of "Execute command". You have to consider that "Execute command" is like running a command on the command line (Terminal or Command prompt). If you were to type the path of the Python script the operating system would also complain. You have to run P...
by freddyp
Tue Nov 14, 2023 4:51 pm
Forum: Node.js scripting
Topic: Cannot get job: Source and destination must not be the same error
Replies: 2
Views: 7315

Re: Cannot get job: Source and destination must not be the same error

First of all I am not sure I understand what you are doing exactly. You have an array of jobs, so that must be as a result of getJobs() in timerFired, correct? But you are just doing something with XMP data so your script must be doing something with just a single job in jobArrived. That is contradi...
by freddyp
Mon Nov 13, 2023 3:49 pm
Forum: Action Lists
Topic: A path with a variable in it
Replies: 3
Views: 10649

Re: A path with a variable in it

In PitStop Pro this will not work as you expect. You also have PitStop Server, so if you are just testing in Pro, but the final use is going to be in Server anyhow, then use the "Overlay PDF" app. You can inject the die file based on the ID from the file pool using a Switch variable for th...
by freddyp
Mon Nov 13, 2023 12:58 pm
Forum: Flows
Topic: Switch2Switch or Flow Links?
Replies: 3
Views: 7956

Re: Switch2Switch or Flow Links?

I confirm what Matthew wrote. Switch2Switch is the app bundle of choice for sending jobs from one Switch server to another, but not for jobs that are sent from one flow to another on the same server. Note that Switch2Switch also has no support yet for JSON datasets because it it still legacy code. P...
by freddyp
Tue Nov 07, 2023 8:04 pm
Forum: Flows
Topic: Compare file sizes
Replies: 2
Views: 5067

Re: Compare file sizes

You can create a Condition with variables on a connection in which you use [Stats.TrimBoxWidth] as the left-hand part of the condition and [Metadata.Rational:etc.] as the right-hand part of the condition. And there is of course another connection "All other jobs". Note the use of Rational ...