Search found 34 matches

by joaodaffonsojr
Wed Aug 27, 2025 4:45 pm
Forum: Switch
Topic: Execute Command v11.1
Replies: 1
Views: 3068

Re: Execute Command v11.1

It also happened with another program: I use an imposition software through CLI, and it always worked in version 10, but now it fails in version 11.1.
by joaodaffonsojr
Wed Aug 27, 2025 4:29 pm
Forum: Switch
Topic: Execute Command v11.1
Replies: 1
Views: 3068

Execute Command v11.1

Hello ! I am experiencing errors in Enfocus Switch with the Execute Command tool in version 11.1. In version 10 it worked without any issues, but after updating it stopped working. It is a Python script that analyzes a PDF and generates an XML with the analysis data. I use sys.argv[1] and sys.argv[2...
by joaodaffonsojr
Sun May 18, 2025 3:34 pm
Forum: Node.js scripting
Topic: PdfProperties
Replies: 8
Views: 31570

Re: PdfProperties

Do you have callas pdfToolbox? No ! But can callas read 2 different datasets in the same pdf ? I don't understand the problem here, you can pick value from two dataset and make calculation from them in switch, so what's blocking you with fastlane? Problem is that looks like a bug in the PdfPage cla...
by joaodaffonsojr
Thu May 15, 2025 8:18 pm
Forum: Node.js scripting
Topic: PdfProperties
Replies: 8
Views: 31570

Re: PdfProperties

jan_suhr wrote: Thu May 15, 2025 7:11 pm Do you have callas pdfToolbox?
No !
But can callas read 2 different datasets in the same pdf ?
by joaodaffonsojr
Thu May 15, 2025 5:23 pm
Forum: Node.js scripting
Topic: PdfProperties
Replies: 8
Views: 31570

Re: PdfProperties

Hi Freddy,
I can't use fastlane for this project, because I need to read the artbox variable from 2 different datasets and do a calculation to see if the values ​​are within a range.
I'll switch to bleedbox for now until this is resolved.
Thanks!

And thanks Mark for helping me too!
by joaodaffonsojr
Tue May 13, 2025 2:49 am
Forum: Node.js scripting
Topic: PdfProperties
Replies: 8
Views: 31570

PdfProperties

Hello! I was trying to use this script to get box values ​​in mm and noticed that cropbox and artbox have the same values. But not in PDF! Here is an example of a PDF file in Pitstop Pro pitstop_mm.png and also the values ​​in Switch using the PdfProperties example script. switch_pdfproperties.png W...
by joaodaffonsojr
Tue Mar 11, 2025 11:21 pm
Forum: Switch
Topic: Mail send with OAuth2.0 - opaque pickup
Replies: 2
Views: 26244

Re: Mail send with OAuth2.0 - opaque pickup

Thank you Freddy ! I´ll try right way ! Which variables are you using? The new versions of mail apps using OAuth2.0 are written in NodeJS and unfortunately we cannot evaluate all Switch variables in that environment (yet). Private data works, so a workaround is to define all the information you need...
by joaodaffonsojr
Sun Mar 09, 2025 3:28 pm
Forum: Switch
Topic: Mail send with OAuth2.0 - opaque pickup
Replies: 2
Views: 26244

Mail send with OAuth2.0 - opaque pickup

Hi ! I´m having problem to use Mail send with OAuth2.0 and opaque dataset. With the standard mail tool in Switch works fine, I have an HTML with some Switch variables that are sent ok. Mail send with OAuth2.0 don´t get this variables it sends only the code of it. Any suggestions ? thanks in advance ...
by joaodaffonsojr
Mon Nov 11, 2024 2:39 pm
Forum: Griffin
Topic: Center image on media
Replies: 1
Views: 12192

Center image on media

Hello !
I ran a test to group images on a media and center them by height and width.
It worked perfectly for height, but it isn't working for width.
The image only stays aligned to the left or right.
Has anyone experienced something like this?
Screenshot 2024-11-11 103526.png
Screenshot 2024-11-11 103526.png (33.45 KiB) Viewed 12192 times
by joaodaffonsojr
Tue Aug 27, 2024 2:21 am
Forum: Griffin
Topic: Anyone having connection issues with Griffin Auto?
Replies: 13
Views: 69285

Re: Anyone having connection issues with Griffin Auto?

Hello ! I tried using Griffin Auto with Switch today but it's not working. I get the following message in the Switch Log: Process failure due to unexpected internal error. If problem persists please contact support to resolve. Could not connect to bundled application Could not start service during G...
by joaodaffonsojr
Thu Apr 04, 2024 12:19 am
Forum: Switch
Topic: [Solved] Combine several XML
Replies: 5
Views: 12909

Re: [Solved] Combine several XML

Hi !

I have two XML like 32800_ARQOS.xml and 32800_ODTPLIMP.xml that i need to merge.

I tried with SAXON in the cmd line, I did a XSLT and works.

But how can I use the variables of Switch like [Job.Path] and [Job.NameProper] to make SAxon configurator merge them ?

Any tips are very welcome !
by joaodaffonsojr
Mon Dec 18, 2023 4:01 pm
Forum: Flows
Topic: HTTP request (Body as form-data including a file) [SOLVED]
Replies: 7
Views: 62709

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

magnussandstrom,

What I did.
  • Create a JSON file as the API need
  • Config the HTTP request to use this JSON on FilePath
by joaodaffonsojr
Tue Sep 05, 2023 12:54 pm
Forum: Switch
Topic: HTTP request POST
Replies: 4
Views: 14306

Re: HTTP request POST

Freddy thanks for your answer,

I managed to make JSON file and everything worked fine.


Thank you very much.
by joaodaffonsojr
Sun Aug 20, 2023 10:06 pm
Forum: Switch
Topic: HTTP request POST
Replies: 4
Views: 14306

HTTP request POST

Hello ! I have to connect to an API and i got this cURL working line command bellow running on Postman. What I need to do is make this run in Switch Execute Command, but couldn´t resolve how to config it right. HTTP REQUEST 01.png HTTP REQUEST 02.png Also I need a tip to whats better run all code in...
by joaodaffonsojr
Sat Jul 08, 2023 4:17 pm
Forum: Preflighting
Topic: Extract Cutfiles From PDF!
Replies: 5
Views: 17862

Re: Extract Cutfiles From PDF!

I had a similiar situation.

What I did was take the cutting lines and assign a layer to it, them i used the app Split PDF layers to create 2 pdf´s.
The print version and the other with only the cutting lines.

https://www.enfocus.com/en/appstore/pro ... pdf-layers

Hope this can help you!