Search found 19 matches
- Thu Jul 06, 2017 1:21 pm
- Forum: Scripting
- Topic: Switch Javascript and Advanced Concepts class @ Print 17
- Replies: 7
- Views: 24643
Re: Switch Javascript and Advanced Concepts class @ Print 17
Is there any plan to record this and offer something like this as an online course or webinar?
- Thu Jul 06, 2017 1:14 pm
- Forum: Scripting
- Topic: Script expression - If - Else
- Replies: 5
- Views: 20944
Re: Script expression - If - Else
var theVar = job.getVariableAsNumber("[Stats.NumberOfPages]"); if (theVar % 2 == 0 ) { s.log(3, "Even!"); } else { s.log(3, "Odd!"); } Something like this? %2 checks if theVar is dividable by 2, if so it's even, else odd ;) Hi sander, exactly like that :D . Thank you. ...
- Thu Jul 06, 2017 1:11 pm
- Forum: Scripting
- Topic: Script expression - If - Else
- Replies: 5
- Views: 20944
Re: Script expression - If - Else
You can solve this without scripting too. I guess you want to sort even or odd pages from a PDF and do different things with them. If you first split the PDF in Switch and UnGroup the folder the pages end up in you have files with a suffix of the page numbers. On the connection out of the folder yo...
- Tue Jul 04, 2017 1:58 pm
- Forum: Scripting
- Topic: Script expression - If - Else
- Replies: 5
- Views: 20944
Script expression - If - Else
Hello, I want to use Script Expression but I have no knowledge about Java,
I think what I want is pretty simple.
if pages in pdf are odd than ....
else if pages in pdf are even than....
Can somebody help me out with this simple task?
Thank you very much.
I think what I want is pretty simple.
if pages in pdf are odd than ....
else if pages in pdf are even than....
Can somebody help me out with this simple task?
Thank you very much.
- Wed Mar 08, 2017 6:08 pm
- Forum: Scripting
- Topic: Switch/Pitstop variables
- Replies: 3
- Views: 17692
Switch/Pitstop variables
Hello, as a part of one of my flows i have to print an invoice, there for I need to get Informations from our XML, and I think I cannot do what I want without scripting. I use an Pitstop actionlist an a variables set to get the Information from our XML, my problem now is that in our XML there could ...
- Mon Mar 06, 2017 3:12 pm
- Forum: Flows
- Topic: numberOfFilesCustom has invalid value
- Replies: 2
- Views: 4827
Re: numberOfFilesCustom has invalid value
Clearly the value of [Job.Hierarchy:Index="1"] is not a number. You must have used "Set hierarchy path" to squeeze the [Job.FileCount] into the hierarchy, right? Did you not have something else in the hierarchy already and index 1 is not what you think it is? Anyway, whenever I ...
- Fri Mar 03, 2017 9:40 am
- Forum: Flows
- Topic: numberOfFilesCustom has invalid value
- Replies: 2
- Views: 4827
numberOfFilesCustom has invalid value
Hello it's me again, back with another problem.. I want to assemble all files from one job after imposition, because the imposition process sometimes takes longer and to make sure all files will be assembled I want that the Job Assemble configurator knows the amount of files. So what I did is before...
- Fri Mar 03, 2017 9:17 am
- Forum: Flows
- Topic: Merge PDFs and name it after all merged PDF names
- Replies: 4
- Views: 2919
Re: Merge PDFs and name it after all merged PDF names
Thank you very much for your help, both solutions are working.
I think it didn't worked for me because I did not use Space="trim" and the filename was too long.
I think it didn't worked for me because I did not use Space="trim" and the filename was too long.
- Thu Mar 02, 2017 1:42 pm
- Forum: Flows
- Topic: Merge PDFs and name it after all merged PDF names
- Replies: 4
- Views: 2919
Merge PDFs and name it after all merged PDF names
Hello, I'm stuck with this problem and hope you can help me once again. I assemble several PDFs and than I want to merge these PDFs to one PDF and name it after all merged PDF names. I found the variable [Job.NestedName] and thought I can use this to rename the folder, when I view the Example value ...
- Mon Feb 27, 2017 2:42 pm
- Forum: Flows
- Topic: Trigger action to creat or pick up PDF
- Replies: 6
- Views: 3511
Re: Trigger action to creat or pick up PDF
sander wrote:If I get you right this would work:
Thanks too you both, it works.
- Wed Feb 22, 2017 1:29 pm
- Forum: Flows
- Topic: Trigger action to creat or pick up PDF
- Replies: 6
- Views: 3511
Re: Trigger action to creat or pick up PDF
sander wrote:You want to pickup the same pdf every time?
If not, is the name of the pdf in the xml file?
Both can be done without scripting
Hello Sander,
I want to pick up the same PDF file every time.
How do I do it?
- Wed Feb 22, 2017 1:19 pm
- Forum: Flows
- Topic: Trigger action to creat or pick up PDF
- Replies: 6
- Views: 3511
Trigger action to creat or pick up PDF
Hello, I want to trigger an action that pick up an PDF from a Folder every time an XML arrives, that PDF should also be renamed with the XML Filename that triggered that action. Is that possible without scripting? We have a scripting module but Im not (yet) familiar with it. Thank you for your help.
- Tue Dec 22, 2015 8:08 am
- Forum: Flows
- Topic: Split PDF & Merge again
- Replies: 2
- Views: 1736
Re: Split PDF & Merge again
Hello Sander,
thank you very much, that's awesome
, I haven't expected such a detailed reply.
I downloaded the attached Flow yesterday, but unfortunatly I'm currently busy with other jobs and cannot
try it out or follow your explanations yet.
I will come back to this post as soon as possible.
thank you very much, that's awesome

I downloaded the attached Flow yesterday, but unfortunatly I'm currently busy with other jobs and cannot
try it out or follow your explanations yet.
I will come back to this post as soon as possible.
- Mon Dec 14, 2015 9:44 am
- Forum: Flows
- Topic: Split PDF & Merge again
- Replies: 2
- Views: 1736
Split PDF & Merge again
Hello, we recieve a PDF File with 6 Pages, than I split the PDF and get 6 PDFs, _1 _2 _3 _4 _5 _6 PDF _3 and PDF _6 will be removed because the Page size is different. Than I want that PDF _1 and _2 will be merged together and _4 and _5 will be merged together, because these PDFs belong together. Th...
- Mon Aug 17, 2015 1:17 pm
- Forum: Flows
- Topic: Switch Calculation/ Pitstop Variable Set
- Replies: 2
- Views: 1936
Switch Calculation/ Pitstop Variable Set
Hello, I hope the title is not too confusing. Heres my problem: with Pitstop im creating an rectangular shape and place it on my incoming PDF File, the shape length should be calculated based on 2 values from the XML-File. These values have a unknown length. Im saving the length values into hierarch...