Search found 658 matches
- Mon Jul 06, 2015 5:23 pm
- Forum: Flows
- Topic: Send email from variable in XML
- Replies: 3
- Views: 4255
Re: Send email from variable in XML
Easiest way to select fields from XML is to add a folder in front of email send and hold the connection. You will have to put dummy values in some of the required fields of email send element. Make sure there's an XML Pickup in flow. Drop a sample XML into flow and stop it when it reaches the held c...
- Fri Jun 12, 2015 10:59 pm
- Forum: LEGACY scripting
- Topic: Acrobat Forms
- Replies: 5
- Views: 8954
Re: Acrobat Forms
Read the Switch documentation on scripting applications with Javascript. You will have to make changes to the Acrobat Javascript to make it work with Switch. For example, replacing 'this' with '$doc'.
- Wed May 27, 2015 4:35 pm
- Forum: Flows
- Topic: XML and PDF files
- Replies: 2
- Views: 3596
Re: XML and PDF files
Unless you want to write a custom javascript or XSL it would be easier to create a separate XML for each PDF.
- Tue May 26, 2015 9:20 pm
- Forum: Flows
- Topic: send mail template
- Replies: 5
- Views: 6479
Re: send mail template
Switch is attempting to interpret square brackets in HTML, [class=wrapper], as variables, eg. [Job.NameProper]
- Tue May 26, 2015 3:30 pm
- Forum: LEGACY scripting
- Topic: Export a file without the unique ID file name
- Replies: 4
- Views: 7572
Re: Export a file without the unique ID file name
Switch does left( length : Number ) : String Returns a substring containing the length leftmost characters of this string. right( length : Number ) : String Returns a substring containing the length rightmost characters of this string. and for Adobe apps you can define as function left(str, n){ if (...
- Fri May 22, 2015 3:53 pm
- Forum: Preflighting
- Topic: Removing completely covered objects
- Replies: 0
- Views: 5041
Re: Removing completely covered objects
Not sure how to do it with Pitstop but Apago PDF Enhancer can remove hidden objects.
- Fri May 22, 2015 3:51 pm
- Forum: Flows
- Topic: Smart Preflight to check number of pages
- Replies: 1
- Views: 3309
Re: Smart Preflight to check number of pages
You don't need preflight, just use Switch variables.
Job.Name starts-with BCDS AND Stats.NumberOfPages EQUALS 2
OR
Job.Name starts-with BCSS AND Stats.NumberOfPages EQUALS 1
Job.Name starts-with BCDS AND Stats.NumberOfPages EQUALS 2
OR
Job.Name starts-with BCSS AND Stats.NumberOfPages EQUALS 1
- Mon May 11, 2015 11:34 pm
- Forum: Flows
- Topic: Combining XML files
- Replies: 6
- Views: 10333
Re: Combining XML files
Apago would be able to write a custom Javascript to combine all XML files in a job folder. Contact us @ sales@apago.com for more information.
- Mon May 04, 2015 5:46 pm
- Forum: Flows
- Topic: Combining XML files
- Replies: 6
- Views: 10333
Re: Combining XML files
If necessary, rename the 2 XML files to make their names consistent. Then merge with a XSL like <?xml version="1.0" ?> <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> <xsl:copy> <xsl:copy-of select="...
- Mon May 04, 2015 3:27 pm
- Forum: Flows
- Topic: Combining XML files
- Replies: 6
- Views: 10333
Re: Combining XML files
Google "XSL merge" or write a simple Javascript
- Thu Apr 30, 2015 5:02 pm
- Forum: LEGACY scripting
- Topic: Parsing XML like txt
- Replies: 1
- Views: 3042
Re: Parsing XML like txt
Use this style sheet <?xml version="1.0"?> <!DOCTYPE xsl:stylesheet> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xhtml="http://www.w3.org/1999/xhtml"> <xsl:template match="node() | @*"> <xsl:copy> <xsl:apply-t...
- Thu Apr 30, 2015 3:40 pm
- Forum: Flows
- Topic: How to assemble a XML and PDF
- Replies: 2
- Views: 3358
Re: How to assemble a XML and PDF
The answer depends on the type of XML you want to convert PDF. If it is a preexisting XML schema and you want to say a form then you can look at XSL:FO which using XSL style sheets to convert from data XML to a formatted PDF. It's a complex specialized skill however. If you can create an XML descrip...
- Wed Apr 29, 2015 6:50 pm
- Forum: LEGACY scripting
- Topic: Date in UTC?
- Replies: 2
- Views: 4035
Re: Date in UTC?
If you only have a few timezones to convert from you could parse the string and do adjustment yourself in Javascript. Otherwise, port something like https://github.com/mde/timezone-js to Switch
- Wed Apr 29, 2015 3:37 pm
- Forum: Flows
- Topic: Sorting Files by Trimbox Size
- Replies: 7
- Views: 9613
- Tue Apr 28, 2015 12:55 am
- Forum: Flows
- Topic: Failed to connect to mail server; error message: Already connected.
- Replies: 2
- Views: 5101
Re: Failed to connect to mail server; error message: Already connected.
We saw this error a lot in earlier Switch 12 releases but Update 3 appears to be more reliable.