Search found 3 matches

by kylek23
Tue Sep 18, 2012 3:56 pm
Forum: Scripting
Topic: Loading multiple files/jobs into a single CLI argument
Replies: 5
Views: 2935

Loading multiple files/jobs into a single CLI argument

I got it to work. It was just missing some escaped quotes and a semicolon. This is great because I can use it for both single and combined jobs. var argStr = ""; var theJobFolder = job.getPath(); if (job.isFolder()) { var theJobDir = new Dir( theJobFolder ); var theFilesList = theJobDir.en...
by kylek23
Mon Sep 17, 2012 10:40 pm
Forum: Scripting
Topic: Loading multiple files/jobs into a single CLI argument
Replies: 5
Views: 2935

Loading multiple files/jobs into a single CLI argument

Thanks for the quick reply, Dwight. I've tried the script in the execute command and as a script element, but I get the following error: Error in line 12 of script : TypeError. Undefined member function 'append' for object '' of type: 'String' If it is a script element, will the execute command pick...
by kylek23
Mon Sep 17, 2012 7:37 pm
Forum: Scripting
Topic: Loading multiple files/jobs into a single CLI argument
Replies: 5
Views: 2935

Loading multiple files/jobs into a single CLI argument

I need to combine multiple HTML files into a single PDF using Prince XML CLI. Below is the manual CLI I use: /usr/local/bin/prince /Users/kolbek/Desktop/princeprocessmulti/ABA_TYL_v017n01_at_their_service_outside_counsels_role_in_working_with_large_corporate_clients.html /Users/kolbek/Desktop/prince...