Search found 1076 matches

by freddyp
Fri Sep 27, 2024 9:28 am
Forum: Node.js scripting
Topic: Changing property value through validation?
Replies: 3
Views: 736

Re: Changing property value through validation?

Look at the possible return values of flowElement.getPropertyStringValue. It is a so-called overloaded function, which means that it can return more than one type of variable. In this case the return values can be string or string[]. For a single-line text you will get a string and for a multiline t...
by freddyp
Wed Sep 25, 2024 9:24 am
Forum: Switch
Topic: Running Powershell scripts
Replies: 7
Views: 846

Re: Running Powershell scripts

I have no experience with the "Run Command" app. As to "Execute command" the mistake is that "Command or path" should point to powershell.exe, the path to the script is part of the "Arguments". If you need to delete files and folders have a look at the "F...
by freddyp
Fri Sep 20, 2024 2:45 pm
Forum: Flows
Topic: processing order
Replies: 3
Views: 395

Re: processing order

If you assemble the XMLs in a job folder first, you can use the app "File Sorter and Spacer" (part of the Folder apps bundle) to get the files out of the folder one by one with an interval.
by freddyp
Tue Sep 17, 2024 2:44 pm
Forum: Flows
Topic: Using a Json Dataset to create a slip sheet for every input PDF
Replies: 4
Views: 515

Re: Using a Json Dataset to create a slip sheet for every input PDF

There is no need to remove anything. On the contrary. Just open the JSON file in a text editor, scroll to the bottom and you will see it is incomplete: it ends with a comma. Editors that are JSON-aware (like VSC) will show there is an error, or you can copy&paste the file into an online JSON val...
by freddyp
Tue Sep 17, 2024 9:31 am
Forum: Flows
Topic: Using a Json Dataset to create a slip sheet for every input PDF
Replies: 4
Views: 515

Re: Using a Json Dataset to create a slip sheet for every input PDF

The JSON file is incomplete so you cannot do anything with it in an automated way (or did you remove a part because otherwise it would be too big?). I could open the file as text of course. It contains URL links to the files. Do these also have to be downloaded as part of the process? Conceptually, ...
by freddyp
Mon Sep 16, 2024 8:28 pm
Forum: Node.js scripting
Topic: node.js debugger setup
Replies: 6
Views: 7188

Re: node.js debugger setup

A common mistake is not being in the correct folder in VSC when attaching. You should have the script folder open at the level of the main.ts. One level too high, one level too low and you do not see the right things.
by freddyp
Thu Sep 05, 2024 1:09 pm
Forum: PitStop Pro
Topic: Adding Lines - Part 2
Replies: 1
Views: 543

Re: Adding Lines - Part 2

The origin of PDF is indeed lower left, but when adding objects PitStop lets you choose a position relative to one of the 9 anchor points. What remains true is that for horizontal X positions positive offsets move to the right, and for vertical Y positions positive values go up. So if you want to go...
by freddyp
Wed Sep 04, 2024 4:15 pm
Forum: Flows
Topic: Private Data in XML Request
Replies: 8
Views: 1211

Re: Private Data in XML Request

Good approach, Magnus! The explanation is indeed the presence of the square brackets that inhibits the correct resolution of the Switch variables. A few things about CDATA. XML has 5 reserved characters that must be escaped when being used in a value: less than, greater than, ampersand, double quote...
by freddyp
Wed Sep 04, 2024 4:10 am
Forum: Flows
Topic: Private Data in XML Request
Replies: 8
Views: 1211

Re: Private Data in XML Request

I am confused here. You are suggesting that you use "Multi-line text with variables" with "HTTP request", but in the next post you also mention the app "Create text file". Which is it? If the created text file does not contain the resolved variable, that points to a pro...
by freddyp
Fri Aug 23, 2024 9:00 am
Forum: PitStop Pro
Topic: Best way to remove rich black
Replies: 4
Views: 1824

Re: Best way to remove rich black

And which solution did you choose? Please share it with the people on the forum.
by freddyp
Thu Aug 22, 2024 1:11 pm
Forum: Switch
Topic: ODBC driver for postgresql
Replies: 2
Views: 1252

Re: ODBC driver for postgresql

https://www.postgresql.org/download/products/2-drivers-and-interfaces/ The list includes numerous free open source solutions. My experience with free drivers for other database engines is not particularly good. I hope for you that for Postgresql it is different. Most commercial offerings are around...
by freddyp
Tue Aug 20, 2024 5:22 pm
Forum: PitStop Pro
Topic: Best way to remove rich black
Replies: 4
Views: 1824

Re: Best way to remove rich black

Converting RGB to CMYK is an edit and edits are of course done before checks. What is "rich black" for you? The solution could be (there is not enough information to be sure): Select color range - where you define the ranges that represent rich black for you Change color - to 0% DeviceGray...
by freddyp
Wed Aug 14, 2024 2:24 pm
Forum: PitStop Pro
Topic: Set color of text based on background color
Replies: 3
Views: 1675

Re: Set color of text based on background color

Select text segments
Select overlapping objects - Replace the current selection by objects that are overlapped by any object from the current selection
Select color, e.g. 100C/100M
AND
Log selection - Blue background has text on it

or some variation on the above.
by freddyp
Wed Aug 14, 2024 8:29 am
Forum: Flows
Topic: Change "text" to "boolean"
Replies: 3
Views: 2141

Re: Change "text" to "boolean"

This is what "Rule-based variables" in Variable Sets are for. You create a variable, e.g. UserChoice, that gets the text from metadata, and you create another variable UserChoiceAsBoolean that is rule based and where you define that when UserChoice is equal to "I love it" the val...