Search found 1010 matches

by freddyp
Thu Dec 21, 2023 3:48 pm
Forum: PitStop Pro
Topic: Why does the Page Color Type Report report RGB as black and white?
Replies: 9
Views: 39923

Re: Why does the Page Color Type Report report RGB as black and white?

PitStop does not know what each and every DFE will do to modify the color content of a file. The only thing the report can tell us is what it theoretically should be ... without any additional transformations. The correct approach is that you should apply the same (or at least similar) transformatio...
by freddyp
Tue Dec 19, 2023 8:31 am
Forum: Online proofing (PDF Review Module)
Topic: PDF download spaces become %20
Replies: 3
Views: 20169

Re: PDF download spaces become %20

We have not been able to reproduce this. What version are you using?
by freddyp
Mon Dec 18, 2023 11:36 am
Forum: Flows
Topic: HTTP request (Body as form-data including a file) [SOLVED]
Replies: 7
Views: 45831

Re: HTTP request (Body as form-data including a file)

Right, I left that one out: the prompt goes into Parameters. Background: posting a file with parameters is like posting a form. A MIME is created with the following structure: MIME-Version: 1.0 Content-Type: multipart/related; boundary=i7wMePDuTqA3JHHXpDUEXVORVjtiNIdJVvktuGrDPUtnjZLvr --i7wMePDuTqA3...
by freddyp
Mon Dec 18, 2023 10:22 am
Forum: Flows
Topic: HTTP request (Body as form-data including a file) [SOLVED]
Replies: 7
Views: 45831

Re: HTTP request (Body as form-data including a file)

HTTP request with the following settings:
Request type: POST (not POST a body, because you are also posting a file)
Attached file: [Job.Path], that should be the JPG
Use MIME encoding: Yes
File variable: file
Headers: x-api-key:apikey
by freddyp
Tue Dec 12, 2023 3:35 pm
Forum: Switch
Topic: Job Submission via API - help please!!
Replies: 2
Views: 18059

Re: Job Submission via API - help please!!

Moreover, the code that sets Content-Length is not correct. Just opening the code in VSC showed an error on line 170.
by freddyp
Tue Dec 12, 2023 8:30 am
Forum: Flows
Topic: Is there a way to force Switch to process files based on the file name?
Replies: 1
Views: 14055

Re: Is there a way to force Switch to process files based on the file name?

In Folder apps bundle there is an app "File Sorter and Spacer". What you can do is first assemble all the XMLs that have to be processed into a folder and then using the app you can send them out in a specific order one by one with an interval.
by freddyp
Mon Dec 11, 2023 9:15 am
Forum: Node.js scripting
Topic: Get the connection absolute path
Replies: 3
Views: 33380

Re: Get the connection absolute path

The sendTo functions are not executed immediately. There can be multiple of them in a script and they are all gathered until the end of the script. Suppose you had access to the path of the outgoing connection and there were no files in the folder. Testing the number of files in the outgoing folder ...
by freddyp
Thu Dec 07, 2023 9:31 am
Forum: Node.js scripting
Topic: Get the connection absolute path
Replies: 3
Views: 33380

Re: Get the connection absolute path

Why do you need this? By using sendTo like you are doing the output job ends up in the correct location. Displaying the location in a message does not really add value. For input jobs you can get the path because there it makes sense: you may have to read the job input file or search for something i...
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: 21856

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: 13548

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: 20404

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: 18511

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: 14412

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: 18511

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: 14050

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 ...