Search found 1131 matches

by freddyp
Mon Sep 16, 2024 8:28 pm
Forum: Node.js scripting
Topic: node.js debugger setup
Replies: 6
Views: 26952

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

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

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

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

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: 3
Views: 15702

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

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

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

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...
by freddyp
Mon Aug 12, 2024 9:04 am
Forum: Applications
Topic: nextclud x switch integration
Replies: 1
Views: 15655

Re: nextclud x switch integration

You can also submit this request to https://www.enfocus.com/en/appstore/appmatch
by freddyp
Tue Aug 06, 2024 3:51 pm
Forum: Flows
Topic: Are there more example flows?
Replies: 2
Views: 6954

Re: Are there more example flows?

And there is a considerable amount of material on https://www.enfocus.com/en/learn/switch
by freddyp
Mon Aug 05, 2024 1:53 pm
Forum: Node.js scripting
Topic: Why isn't the getVariableAsString the same in Node.js
Replies: 3
Views: 21684

Re: Why isn't the getVariableAsString the same in Node.js

It is not only the Metadata variables, but indeed not everything is covered as in legacy scripting. The technical background is complex and it will take a lot of time to port everything, but we did not want to wait until everything was available. From the feedback we got from partners and customers ...
by freddyp
Tue Jul 30, 2024 8:21 am
Forum: Flows
Topic: Using [Last()] In XML/XPath Parsing SQL Results
Replies: 2
Views: 8012

Re: Using [Last()] In XML/XPath Parsing SQL Results

All things XML are case-sensitive: last() is a valid function, Last() is not.
by freddyp
Mon Jul 29, 2024 1:24 pm
Forum: Flows
Topic: Switch 24 Spring - Webhook v8.2
Replies: 5
Views: 10565

Re: Switch 24 Spring - Webhook v8.2

Engineering is not capable of reproducing the issue and there is the reaction from Sander. Can you confirm it is still there?