Search found 32 matches

by joaodaffonsojr
Sun May 18, 2025 3:34 pm
Forum: Node.js scripting
Topic: PdfProperties
Replies: 8
Views: 28198

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

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

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

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

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

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

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 10679 times
by joaodaffonsojr
Tue Aug 27, 2024 2:21 am
Forum: Griffin
Topic: Anyone having connection issues with Griffin Auto?
Replies: 13
Views: 66426

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

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

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

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

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

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!
by joaodaffonsojr
Thu Mar 09, 2023 2:51 pm
Forum: Appstore
Topic: Unable to sign into App Store [Solved]
Replies: 2
Views: 18185

Re: Unable to sign into App Store

Hi !

I have an issue with Appstore ... solved with this ...

https://enfocus.my.site.com/partners/s/ ... Enfocus-ID

hope it helps you !
by joaodaffonsojr
Wed Feb 22, 2023 5:58 pm
Forum: Node.js scripting
Topic: Populate dropdown list in SwitchScripter
Replies: 6
Views: 16420

Re: Populate dropdown list in SwitchScripter

This is the code that made it work. thanks Jan , mkayyyy and tdeschampsBluewest ! async function getLibraryForProperty(s, flowElement, tag) { let props = []; if (tag === "Template") { // replace with the path to your directory const directoryPath = 'D:\\node_js\\dirlist\\sampleDoc\\'; //cr...