Search found 30 matches

by Krzysztof Mycek
Thu Mar 09, 2023 4:07 pm
Forum: Switch
Topic: Imagemagick
Replies: 7
Views: 7261

Imagemagick

Hi I have a question about Imagemagick in Switch. I have a 2 file (tiff). I need to make the one file from two file by imagemagick like: 1.tiff 2.tiff -channel-fx "| gray=>alpha" -define tiff:alpha=unspecified "%1" "%2" But how I can use the Switch flow to send 2 file t...
by Krzysztof Mycek
Fri Feb 17, 2023 10:09 am
Forum: Node.js scripting
Topic: JSON merger
Replies: 2
Views: 4371

Re: JSON merger

Thank You Freddy. Thats it!
by Krzysztof Mycek
Thu Feb 16, 2023 3:07 pm
Forum: Node.js scripting
Topic: JSON merger
Replies: 2
Views: 4371

JSON merger

Hi.
I need to merge two JSON file in one.
Does anyone have a solution for how to do this on Switch?
by Krzysztof Mycek
Wed Feb 01, 2023 11:42 am
Forum: LEGACY scripting
Topic: empty node value in xml file
Replies: 3
Views: 6011

Re: empty node value in xml file

Great! Thank You! Thats working.
by Krzysztof Mycek
Tue Jan 31, 2023 10:00 pm
Forum: LEGACY scripting
Topic: empty node value in xml file
Replies: 3
Views: 6011

Re: empty node value in xml file

This modification not work correct too. Always the same script error when XML noda are empty // Is invoked each time a new job arrives in one of the input folders for the flow element. // The newly arrived job is passed as the second parameter. // Is invoked each time a new job arrives in one of the...
by Krzysztof Mycek
Tue Jan 31, 2023 6:16 pm
Forum: LEGACY scripting
Topic: empty node value in xml file
Replies: 3
Views: 6011

empty node value in xml file

Hi I have a problem with empty node in XML When my script get a empty value I have a error like: Error in line 28 of script : Undefined member function 'getValue' for object 'undefined' of type: 'Undefined' I don't know how to handle this error so that the connector with the script doesn't block and...
by Krzysztof Mycek
Thu Jul 07, 2022 2:48 pm
Forum: Applications
Topic: pdf to ai
Replies: 4
Views: 5290

Re: pdf to ai

Thank You Jan, but Illustrator isn't server apps and should be problem when describe some dialog window ...
I need to move the layer form pdf to the ai file but ... i see that is impossible I hope ....
by Krzysztof Mycek
Fri Jul 01, 2022 1:58 pm
Forum: Applications
Topic: pdf to ai
Replies: 4
Views: 5290

pdf to ai

Does anyone know any server application that converts pdf files to ai in switch?
by Krzysztof Mycek
Mon Sep 20, 2021 5:03 pm
Forum: Switch
Topic: How to merge two html files into one
Replies: 0
Views: 19675

How to merge two html files into one

hello I need to make 2 language report witch is included like the html into one email. Of course I'm using translation by XSLT and on the output I have 2 html file. One in Polish, second in English. Finaly I need merge it before email sending. Maybe someone can help me. I tried to use the cat comman...
by Krzysztof Mycek
Mon Aug 02, 2021 4:56 pm
Forum: Switch
Topic: Problem with backslash character \
Replies: 8
Views: 6375

Re: Problem with backslash character \

That is the solution: ^(\d{4}[- ]\d{2}[- ]\d{4})|()$
Of course only for this case.
by Krzysztof Mycek
Mon Aug 02, 2021 4:47 pm
Forum: Switch
Topic: Problem with backslash character \
Replies: 8
Views: 6375

Re: Problem with backslash character \

Maybe that is the solutions but a little complicated.
Thank You Jan. Maybe someone else will have an idea and face such a problem
by Krzysztof Mycek
Mon Aug 02, 2021 4:41 pm
Forum: Switch
Topic: Problem with backslash character \
Replies: 8
Views: 6375

Re: Problem with backslash character \

Any combination not working.
\/ no
\\ no
// no
"\\" no
ect ect
by Krzysztof Mycek
Mon Aug 02, 2021 4:32 pm
Forum: Switch
Topic: Problem with backslash character \
Replies: 8
Views: 6375

Re: Problem with backslash character \

Hi Jan
Unfortunately not working too. I try to use many combination.
by Krzysztof Mycek
Mon Aug 02, 2021 4:18 pm
Forum: Switch
Topic: Problem with backslash character \
Replies: 8
Views: 6375

Problem with backslash character \

I have a question because I can’t find any information about my problem. I need to separare part od path included in the XML file and metadata, witch is like for example: 0450-06-2021\karton.pdf. I need only part before \ character 0450-06-2021. Unfortunately when I use funcion Before \, this charac...
by Krzysztof Mycek
Mon Aug 02, 2021 3:47 pm
Forum: Flows
Topic: Metadata variable and the After filter
Replies: 5
Views: 6737

Re: Metadata variable and the After filter

I have a the same problem. The \ character is not recognized by After and Before filed