Thanks all!!
Problem solved with bash script.
Search found 12 matches
- Mon Dec 17, 2018 12:33 pm
- Forum: LEGACY scripting
- Topic: execute command problem
- Replies: 3
- Views: 5269
- Sun Dec 16, 2018 10:49 pm
- Forum: LEGACY scripting
- Topic: execute command problem
- Replies: 3
- Views: 5269
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!
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!
- Tue Oct 23, 2018 7:57 am
- Forum: Flows
- Topic: Use variable in Single line text with variable
- Replies: 4
- Views: 5014
Re: Use variable in Single line text with variable
Hi everybody,
Many thanks for the posts. I will try an script expression.
Many thanks for the posts. I will try an script expression.
- Mon Oct 22, 2018 10:06 am
- Forum: Flows
- Topic: Use variable in Single line text with variable
- Replies: 4
- Views: 5014
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
Is it possible to use private data variable inside a metadata variable?
download/file.php?mode=view&id=239
- Wed Nov 08, 2017 9:04 pm
- Forum: LEGACY scripting
- Topic: replacechild
- Replies: 9
- Views: 12279
Re: replacechild
It's a working *&*/#$%@
Thank you very much. Learned a lot from this approach.
Also thanks to Gabrielp your debug tool learned me a lot.
Thank you very much. Learned a lot from this approach.
Also thanks to Gabrielp your debug tool learned me a lot.
- Wed Nov 08, 2017 11:42 am
- Forum: LEGACY scripting
- Topic: replacechild
- Replies: 9
- Views: 12279
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 ...
- Tue Nov 07, 2017 3:42 pm
- Forum: LEGACY scripting
- Topic: replacechild
- Replies: 9
- Views: 12279
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...
- Tue Nov 07, 2017 1:07 pm
- Forum: LEGACY scripting
- Topic: replacechild
- Replies: 9
- Views: 12279
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...
- Mon Nov 06, 2017 9:38 pm
- Forum: LEGACY scripting
- Topic: replacechild
- Replies: 9
- Views: 12279
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...
- Tue Dec 27, 2016 1:22 pm
- Forum: Applications
- Topic: problem inject lite
- Replies: 4
- Views: 9263
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.
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.
- Thu Dec 22, 2016 1:41 pm
- Forum: Applications
- Topic: problem inject lite
- Replies: 4
- Views: 9263
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 ...
- Tue Jul 19, 2016 8:27 pm
- Forum: LEGACY scripting
- Topic: add pagelabels to pdf
- Replies: 3
- Views: 11854
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
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