Search found 592 matches

by jan_suhr
Tue Mar 27, 2018 6:36 am
Forum: Flows
Topic: pdftk and cat command
Replies: 18
Views: 32679

Re: pdftk and cat command

It is using PDFToolkit to do the job so you have to have that installed. In some cases you have to tell Switch where the Pdftk files are.
Read the manual, it will tell you how to do it.
by jan_suhr
Mon Mar 26, 2018 11:21 pm
Forum: Flows
Topic: pdftk and cat command
Replies: 18
Views: 32679

Re: pdftk and cat command

The app Duplicate pages PRO can do that for you.
by jan_suhr
Mon Mar 26, 2018 3:53 pm
Forum: Flows
Topic: Switch Variables in XML Location Path
Replies: 5
Views: 7726

Re: Switch Variables in XML Location Path

As I said brackets is something Switch is picky about. This is from the manual: If used in an argument that supports nested variables, the opening square bracket '[' is interpreted by Switch as the beginning of a new variable. To use the square bracket as static text, you need to double it: '[['. No...
by jan_suhr
Mon Mar 26, 2018 12:35 pm
Forum: Flows
Topic: Switch Variables in XML Location Path
Replies: 5
Views: 7726

Re: Switch Variables in XML Location Path

Try escaping the square brackets around your variable like \[Job.PrivateData:Key="FOLIO"\]. Switch is picky when it comes to square brackets.
by jan_suhr
Wed Mar 21, 2018 8:42 am
Forum: Appstore
Topic: App BETA testers wanted
Replies: 0
Views: 8041

App BETA testers wanted

I have done an app that I call Automatic Imposition, it will take the most common page formats and do various impositions on them. The app is ready to be released but I would like to have it tested in real time production to see that everything works as intended. The app is based on Indigo sheet siz...
by jan_suhr
Fri Mar 16, 2018 3:43 pm
Forum: Flows
Topic: Switch Inject
Replies: 2
Views: 2445

Re: Switch Inject

Yes it can be done, if the file has a marker, like the order number you can in a few different ways inject them or hold them until something triggers a release of them.
by jan_suhr
Mon Mar 12, 2018 7:42 am
Forum: Flows
Topic: Pick up PDF again...
Replies: 7
Views: 8411

Re: Pick up PDF again...

Hello Erik, One simple way is to set the output folder in Switch to keep the uniqe name i.e Strip unique name = No . then when the file come back to Switch it knows which file it is and insert the Metadata again. There is a time limit on this so it isn't perfect. The better way is to export the meta...
by jan_suhr
Sat Mar 10, 2018 2:49 pm
Forum: Flows
Topic: Insert a page to a pdf
Replies: 5
Views: 7730

Re: Insert a page to a pdf

You can run PDF Toolkit with Execute Command to get this done.
https://www.pdflabs.com/docs/pdftk-man-page/


Might need a shell script for PDF Toolkit to accept the Switch variables and for that you can use my App "Execute command friend"
by jan_suhr
Wed Mar 07, 2018 6:57 pm
Forum: Flows
Topic: Combining Data Into XSLT Question
Replies: 1
Views: 2774

Re: Combining Data Into XSLT Question

You can use my App "Take Notes", it will let you combine datasets that can be exported to a combined XML.

But it is also possible with XSLT to merge multiple XML-files.


Jan
by jan_suhr
Tue Mar 06, 2018 7:30 am
Forum: LEGACY scripting
Topic: Using variables in script to create Json - Newbie help
Replies: 27
Views: 28013

Re: Using variables in script to create Json - Newbie help

There is a new version since a few weeks that should have all the problems fixed.
by jan_suhr
Thu Mar 01, 2018 3:22 pm
Forum: Flows
Topic: Using PowerShell to change encoding of a .csv file.
Replies: 2
Views: 4706

Re: Using PowerShell to change encoding of a .csv file.

Switch can be a bit picky when it comes to Execute Command stuff, in some cases you have to run a shellscript (or BAT) file with your command in it to get it to work. I have made an APP for this called "Execute Command Friend" and it let you construct Shellscripts or BAT files with Switch ...
by jan_suhr
Wed Feb 21, 2018 11:01 pm
Forum: LEGACY scripting
Topic: Padding the suffix in the split element
Replies: 2
Views: 3819

Re: Padding the suffix in the split element

You can construct what you want by using the different suffixes or prefixes in the SplitPDF element.
Screenshot 2018-02-21 23.00.16.jpg
Screenshot 2018-02-21 23.00.16.jpg (70.61 KiB) Viewed 3817 times
by jan_suhr
Wed Feb 21, 2018 5:06 pm
Forum: LEGACY scripting
Topic: How to replace an xml value
Replies: 4
Views: 6636

Re: How to replace an xml value

I think you have to have double slashes before the IP-number, and then they might need to be escaped as well meaning //// before the IP-number.
by jan_suhr
Wed Feb 21, 2018 5:02 pm
Forum: Flows
Topic: Sort Folder with XML and Folder without
Replies: 2
Views: 2734

Re: Sort Folder with XML and Folder without

Set the condition of the connection to include jobs with [Job.NestedName] contains .xml and for the other connection to include "All other jobs". This will sort all folders that have any XML-files in it to one folder and all other folders to the other folder. Screenshot 2018-02-21 17.02.07...