Search found 142 matches
- Mon Sep 03, 2018 11:37 pm
- Forum: LEGACY scripting
- Topic: Vaid node count
- Replies: 1
- Views: 4110
Vaid node count
Hi All, I asked this in the flows forum but had no response so I'm trying here and hoping for better luck! I have some XML data and I need the Switch flow to decide what is the next step based on the number of nodes populated. In the extract below only 2 section nodes are valid but it could be up to...
- Fri Aug 31, 2018 3:31 pm
- Forum: Flows
- Topic: valid node count
- Replies: 1
- Views: 3393
valid node count
Hi All, I have some XML data and I need the Switch flow to decide what is the next step based on the number of nodes populated. In the extract below only 2 section nodes are valid but it could be up to 4. My question is how I get Switch to see how many nodes are populated? <sections> <year>XXXX</yea...
- Fri Jul 13, 2018 6:17 pm
- Forum: LEGACY scripting
- Topic: PDFtk burst
- Replies: 5
- Views: 7433
Re: PDFtk burst
They view and print fine. Just can't split them that's why I want to know how to do it with the burst command.
Have you got it to work with PDFtk?
Andrew
Have you got it to work with PDFtk?
Andrew
- Fri Jul 13, 2018 5:45 pm
- Forum: LEGACY scripting
- Topic: PDFtk burst
- Replies: 5
- Views: 7433
Re: PDFtk burst
The PDF files are made using PDFsharp.
Some work and some don't.... I just don't get any split pages ie all or nothing. SO I'm trying PDFtk to see if that will work with these files from the client.
Andrew
Some work and some don't.... I just don't get any split pages ie all or nothing. SO I'm trying PDFtk to see if that will work with these files from the client.
Andrew
- Fri Jul 13, 2018 5:15 pm
- Forum: LEGACY scripting
- Topic: PDFtk burst
- Replies: 5
- Views: 7433
PDFtk burst
Hi All, I use PDFtk for a lot of flows so I know it works within Switch fine. I'm trying to burst a PDF to multiple single PDFs but I can't get it to work. If I use the standard burst command I just get the last page: "%1" burst output "%2" File at Path I tried adding _page_%04d ...
- Mon May 21, 2018 11:43 pm
- Forum: Applications
- Topic: Win Batch file within Command function of Switch
- Replies: 0
- Views: 5218
Win Batch file within Command function of Switch
I have a .bat file that works fine outside of Switch Command. Within the batch file I have the following which is the execute "Command.exe", the static path to the file requiring processing relative to the executable "Folder/file.txt", and then the action within the .exe file &qu...
- Thu Mar 29, 2018 6:06 pm
- Forum: Flows
- Topic: pdftk and cat command
- Replies: 18
- Views: 32813
Re: pdftk and cat command
Trying the cat command with something like this but it fails.
A=100page PDF
B=1page PDF
Output file should have B inserted into A after EVERY page.
A="%1" B="C:\Users\switch\Desktop\Blank.pdf" cat A1-end B1 output "%2"
Any ideas why it won't work?
TIA
A=100page PDF
B=1page PDF
Output file should have B inserted into A after EVERY page.
A="%1" B="C:\Users\switch\Desktop\Blank.pdf" cat A1-end B1 output "%2"
Any ideas why it won't work?
TIA
- Tue Mar 27, 2018 3:25 pm
- Forum: Flows
- Topic: pdftk and cat command
- Replies: 18
- Views: 32813
Re: pdftk and cat command
I already have PDFtk installed and running successfully within other flows so I know it works OK.
Any other ideas?
Any other ideas?
- Mon Mar 26, 2018 11:49 pm
- Forum: Flows
- Topic: pdftk and cat command
- Replies: 18
- Views: 32813
Re: pdftk and cat command
Getting an error "application not available on Switch Server"
- Mon Mar 26, 2018 10:13 pm
- Forum: Flows
- Topic: pdftk and cat command
- Replies: 18
- Views: 32813
pdftk and cat command
I'm using pdftk elsewhere within my flows so I know it works but I'm trying to build a cat command. The requirement is to have an input file (A.pdf) that is 100 pages long that uses the cat command to insert (B.pdf which is a single page) after every page in A.pdf before saving it out. Is this possi...
- Mon Mar 19, 2018 4:25 pm
- Forum: LEGACY scripting
- Topic: adding to a child node
- Replies: 11
- Views: 13740
Re: adding to a child node
Thanks.
That worked. Strange it didn't work by adding it multiple time.
That worked. Strange it didn't work by adding it multiple time.
- Fri Mar 16, 2018 6:04 pm
- Forum: LEGACY scripting
- Topic: adding to a child node
- Replies: 11
- Views: 13740
Re: adding to a child node
Anybody able to work out why it won't work with multiple nodes in the newer version of Switch?
the problem line appears to be:
bookNodes.at(i).appendChild(batchIDElement);
Only working as singles
TIA
the problem line appears to be:
bookNodes.at(i).appendChild(batchIDElement);
Only working as singles
TIA
- Mon Feb 05, 2018 4:46 pm
- Forum: Flows
- Topic: Download from a FTP-SSL
- Replies: 4
- Views: 6597
Re: Download from a FTP-SSL
Does Switch still not support FTPS?? I run the latest version of Switch.
Has anybody got it to work and have examples that could help me out as we've never set this up before.
TIA
Andrew
Has anybody got it to work and have examples that could help me out as we've never set this up before.
TIA
Andrew
- Sat Feb 03, 2018 7:20 am
- Forum: LEGACY scripting
- Topic: adding to a child node
- Replies: 11
- Views: 13740
Re: adding to a child node
Hi freddyp,
I tried running this script again this year and the script fails. The only thing that has changed is I've upgraded Switch recently.
Can you check it still works.
UPDATE: It works with a single CustomBook but not multiples
Thanks
Andrews
I tried running this script again this year and the script fails. The only thing that has changed is I've upgraded Switch recently.
Can you check it still works.
UPDATE: It works with a single CustomBook but not multiples
Thanks
Andrews
- Tue Jun 20, 2017 3:52 pm
- Forum: Preflighting
- Topic: Preflight report sticky note
- Replies: 7
- Views: 13406
Re: Preflight report sticky note
Brilliant. That worked great.
Thanks for helping
Thanks for helping