Search found 1136 matches

by freddyp
Wed Jul 09, 2025 11:47 am
Forum: PitStop Pro
Topic: Faster way to add a copied graphic
Replies: 6
Views: 740

Re: Faster way to add a copied graphic

Yet another possibility: create a variable set with 9 variables, one text variable with a dropdown list for all 8 options and 8 rule-based boolean variables. Define the rule-based variables in this way: if the dropdown variable is equal to x then the value is true, else it is false add all 8 copied ...
by freddyp
Wed Jul 09, 2025 11:38 am
Forum: Flows
Topic: Get API OAuth token using HTTP Request app
Replies: 4
Views: 737

Re: Get API OAuth token using HTTP Request app

The Postman request uses "OAuth 2.0" as the authentication method, so that is also the one that you should use in Switch. Setting up OAuth 2.0 is not for the faint of heart. You need some information about the service you are connecting to: application ID, application password, authorizati...
by freddyp
Tue Jul 08, 2025 4:05 pm
Forum: Switch
Topic: Rename file based on contents
Replies: 8
Views: 944

Re: Rename file based on contents

It is clear that the first 23 characters are not a 100% solid way of combining the files because all 4 have the same first 23 characters. The obvious question: is there some other property that is common to the files that do belong together? If there was, you could concatenate both properties (the f...
by freddyp
Tue Jul 08, 2025 9:55 am
Forum: Switch
Topic: Rename file based on contents
Replies: 8
Views: 944

Re: Rename file based on contents

You have described your input, but not your desired output, at least not in a clear way. There is a contradiction in the description: you mention positions 1-23, but in the screenshot the value is 1-15. There is something puzzling in the description: "This works fine" suggests it works fin...
by freddyp
Tue Jul 08, 2025 9:04 am
Forum: Flows
Topic: Get API OAuth token using HTTP Request app
Replies: 4
Views: 737

Re: Get API OAuth token using HTTP Request app

In Postman I do not find the authorization "Send as Basic Auth header". There is "Basic Auth", but that requires a username and a password and is probably not what you need. I suggest that you export the Postman settings as a JSON and upload it here (you may have to zip it). It i...
by freddyp
Thu Jul 03, 2025 8:05 am
Forum: Switch
Topic: Rename file based on contents
Replies: 8
Views: 944

Re: Rename file based on contents

Depending on the complexity of the contents of the text file you may find this app useful: https://www0.enfocus.com/en/appstore/product/txt-pickup
by freddyp
Fri Jun 06, 2025 2:21 pm
Forum: Flows
Topic: Assemble jobs into sub-folders
Replies: 2
Views: 621

Re: Assemble jobs into sub-folders

Assemble the files into a folder separately and then assemble the two folders.
by freddyp
Fri Jun 06, 2025 2:08 pm
Forum: Action Lists
Topic: Alpha fill check action list
Replies: 7
Views: 7692

Re: Alpha fill check action list

The JPEG format does not support transparency, so a method that is based on the properties of the image will not work. What you are referring to is undoubtedly the fact that there are white pixels. Here is a conceptual way of detecting those. Run a PitStop Server Action List on the image (make sure ...
by freddyp
Fri May 23, 2025 9:33 am
Forum: PDF Creation
Topic: SVG images
Replies: 5
Views: 9467

Re: SVG images

SVG does not have a page size like PDF has, so a tool that converts SVG to PDF will have to "invent" something. The most obvious choice would be to take the bounding box of all the elements, but the easiest choice is to leave it to the user to specify a size and/or to use a default. Which ...
by freddyp
Thu May 22, 2025 4:17 pm
Forum: Switch
Topic: Help with Conditional Routing Based on PDF Page Size
Replies: 6
Views: 2909

Re: Help with Conditional Routing Based on PDF Page Size

It is almost correct, Thomas! You forgot to mention that the thickness of the lasagna sheets must be between 1mm and 5 degrees Kelvin.
by freddyp
Thu May 15, 2025 2:24 pm
Forum: Flows
Topic: Split PDF based on content
Replies: 3
Views: 18472

Re: Split PDF based on content

Well done! Just for my understanding: the area where the number is, is only filled for each new split, right? I was thinking that there would always be a number and that the split had to happen when the number changed. In that case every page would be logged and the splitting would not work. Assumin...
by freddyp
Wed May 14, 2025 3:43 pm
Forum: Flows
Topic: Split PDF based on content
Replies: 3
Views: 18472

Re: Split PDF based on content

You cannot detect a change in numbers from one page to another in an Action List, so this approach will not work. This is how it can work, but it will require a small script: Run PitStop Server with an Action List that uses "Select objects inside or outside region" - "Log text propert...
by freddyp
Wed May 14, 2025 3:32 pm
Forum: Node.js scripting
Topic: PdfProperties
Replies: 8
Views: 29178

Re: PdfProperties

Thanks for reporting this. It does indeed seem like it is a bug in the PdfPage class. I logged it. Art boxes are not used very often, so I hope you do not suffer from this. If it is important to you and you have PitStop Server then I suggest to use the FastLane app: https://www0.enfocus.com/en/appst...
by freddyp
Wed May 14, 2025 3:27 pm
Forum: Flows
Topic: Assemble Job stalling out?
Replies: 5
Views: 24174

Re: Assemble Job stalling out?

Which version of Switch and which version of the Assemble job app are you using?
by freddyp
Wed Apr 30, 2025 12:02 pm
Forum: Action Lists
Topic: How to remove everything from Yellow Separation
Replies: 16
Views: 168680

Re: How to remove everything from Yellow Separation

I have one (pedantic) remark about the use of the multiply blend mode for the 40% Y rectangle that is placed on top of the page. When there is yellow somewhere in a design on the page that has a percentage higher than 40, multiply will result in the highest value, so the yellow will not be a uniform...