Search found 12 matches

by rschipper
Mon Dec 17, 2018 12:33 pm
Forum: LEGACY scripting
Topic: execute command problem
Replies: 3
Views: 5231

Re: execute command problem

Thanks all!!

Problem solved with bash script.
by rschipper
Sun Dec 16, 2018 10:49 pm
Forum: LEGACY scripting
Topic: execute command problem
Replies: 3
Views: 5231

execute command problem

Hello,

I can't get the execute command working for the tr command in mac-os.
I tried to quote the %1 and %2 but no results.
Anybody an idea? Thanks!
Screenshot 2018-12-16 at 22.32.26.png
Screenshot 2018-12-16 at 22.32.26.png (134.16 KiB) Viewed 5231 times
The attachment Screenshot 2018-12-16 at 22.34.45.png is no longer available
by rschipper
Tue Oct 23, 2018 7:57 am
Forum: Flows
Topic: Use variable in Single line text with variable
Replies: 4
Views: 4988

Re: Use variable in Single line text with variable

Hi everybody,

Many thanks for the posts. I will try an script expression.
by rschipper
Mon Oct 22, 2018 10:06 am
Forum: Flows
Topic: Use variable in Single line text with variable
Replies: 4
Views: 4988

Use variable in Single line text with variable

Hello,

Is it possible to use private data variable inside a metadata variable?

download/file.php?mode=view&id=239
by rschipper
Wed Nov 08, 2017 9:04 pm
Forum: LEGACY scripting
Topic: replacechild
Replies: 9
Views: 12237

Re: replacechild

It's a working *&*/#$%@ :D
Thank you very much. Learned a lot from this approach.
Also thanks to Gabrielp your debug tool learned me a lot.
by rschipper
Wed Nov 08, 2017 11:42 am
Forum: LEGACY scripting
Topic: replacechild
Replies: 9
Views: 12237

Re: replacechild

Hi all, I also think it has to be a problem in the second parameter of the replaceChild. When I use: nodeByPath.at(i).replaceChild(Node, nodeByPath.at(i).evalToNode("./DeliveryDate")); It replaces the <DeliveryDate> in the the last part (3) of the xml but only remove it from the first and ...
by rschipper
Tue Nov 07, 2017 3:42 pm
Forum: LEGACY scripting
Topic: replacechild
Replies: 9
Views: 12237

Re: replacechild

Hi Gabriel, here's my xml. <?xml version="1.0" encoding="utf-8" ?> - <Klantorders> - <Klantorder> <ContactID>002</ContactID> <CustomerID>101891</CustomerID> <CustomerOrderNumber>107_3341</CustomerOrderNumber> <CustomerProduct>Kerkblad Titus Brandsma parochie</CustomerProduct> <Cu...
by rschipper
Tue Nov 07, 2017 1:07 pm
Forum: LEGACY scripting
Topic: replacechild
Replies: 9
Views: 12237

Re: replacechild

Hello, I played around with the replaceChild but i only got it to work for the first node. var text2 = theXMLDoc.createText(tmw); var Node = theXMLDoc.createElement("DeliveryDate") Node.appendChild(text2); //replace all of node with new text for(var i=0; i<nodeByPath.length; i++){ nodeByPa...
by rschipper
Mon Nov 06, 2017 9:38 pm
Forum: LEGACY scripting
Topic: replacechild
Replies: 9
Views: 12237

replacechild

Hello, I´m having a problem replacing a child value in my incoming xml. I got the appending to work but now i have a doubble node in the xml. Can somebody help me to change the append to replace (or remove existing node (DeliveryDate). The problem begins at "var = text2" The script maybe a...
by rschipper
Tue Dec 27, 2016 1:22 pm
Forum: Applications
Topic: problem inject lite
Replies: 4
Views: 9230

Re: problem inject lite

The log says:
Dynamic property 'JobPath' has invalid value '/Users/switch/Desktop/Robert/test inject/barcode/135038_VELD_WLB_90_665_905_Barcoded.pdf'

The file is not present at that path, so it should go to the error out line? The path is existing. only the file isn't.
by rschipper
Thu Dec 22, 2016 1:41 pm
Forum: Applications
Topic: problem inject lite
Replies: 4
Views: 9230

problem inject lite

I am having a small problem with inject lite function in switch 13.1. If I choose at Target --> jobpath, a fixed path/file the function works fine. If the file is present it will go trough the "succes line" and if the file isn't present the job go trough the "error line". When I ...
by rschipper
Tue Jul 19, 2016 8:27 pm
Forum: LEGACY scripting
Topic: add pagelabels to pdf
Replies: 3
Views: 10760

add pagelabels to pdf

Hello,

Is there any way in switch to extract the filename of a pdf, and add the filename as page label in the pdf?
For example: job_123456.pdf and set the page label of every page to 123456.
regards,

Robert