Search found 1032 matches

by freddyp
Thu Jan 18, 2024 9:21 am
Forum: Node.js scripting
Topic: Script Expression and set action list
Replies: 4
Views: 2593

Re: Script Expression and set action list

Unfortunately we do not (yet) have the job.getVariableAsString function in NodeJS scripting. The recommended workaround for this is to place whatever it is you need in your script expression in private data and then use that private data in your script expression. It is not perfect, but it is not di...
by freddyp
Mon Jan 15, 2024 5:40 pm
Forum: PitStop Pro
Topic: duplicate pantone channel
Replies: 4
Views: 83383

Re: duplicate pantone channel

Open the Color Picker in PitStop; you can do that via the PitStop Color tools or via the Actions in the Inspector in the Fill window. There you can create a new color in the Local group and you can name it the way you want. Make sure to check the box "Define as Spot Color alternate values"...
by freddyp
Mon Jan 15, 2024 11:17 am
Forum: PitStop Pro
Topic: Why does the Page Color Type Report report RGB as black and white?
Replies: 9
Views: 48442

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

I was a bit puzzled by the last part of your your statement: If PitStop does not know how each individual DFE changes the color content of a file, why does it interpret neutral RGB as black and white? DFEs do not do that. but not being familiar with all settings of all DFEs out there I have been ask...
by freddyp
Mon Jan 15, 2024 10:40 am
Forum: PitStop Pro
Topic: duplicate pantone channel
Replies: 4
Views: 83383

Re: duplicate pantone channel

You can use the copy/paste actions: Select spot color (now one or more objects are selected) Copy Select all (this is necessary because pasting is done on the page level, not on one more objects) Paste (make sure not to move it) Select last added objects Change color Add objects to layer with name (...
by freddyp
Fri Jan 12, 2024 12:07 pm
Forum: Flows
Topic: XPATH formatting question
Replies: 9
Views: 140354

Re: XPATH formatting question

It is not "Nice solution, but ...", it is "Nice solution!". Period. Using TextIndexed is the way you handle an unknown number of nodes. You can use <br> as a separator as suggested, or you could use <li> as a prefix and </li> as a postfix, and when you enclose this in the mail te...
by freddyp
Mon Jan 08, 2024 12:13 pm
Forum: Flows
Topic: Using the current PDF page in variables?
Replies: 9
Views: 153493

Re: Using the current PDF page in variables?

In PitStop you cannot combine a variable with static text but when defining the value of the variable in Switch you can combine any Switch variable with static text, so it is possible.
by freddyp
Mon Jan 08, 2024 12:09 pm
Forum: Flows
Topic: continu flow in created jobfolder
Replies: 1
Views: 53506

Re: continu flow in created jobfolder

Placing jobs in subfolders and subsubsubsubfolders requires the use of "Archive hierarchy". Here is learning session that explains how to work with hierachies: https://learning.enfocus.com/course/view.php?id=40
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: 48442

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

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

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

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

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

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

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

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