InDesign Smartstream Create Job Script
InDesign Smartstream Create Job Script
Hi,
Is there a way to create job in InDesign Smartstream Create Job Script using javascript?
SmartStream> CreateJob ( image below )
https://ibb.co/ggcQ7F
Thank you in advance
Is there a way to create job in InDesign Smartstream Create Job Script using javascript?
SmartStream> CreateJob ( image below )
https://ibb.co/ggcQ7F
Thank you in advance
Re: InDesign Smartstream Create Job Script
I did some findings while using Switch the last years, I'm not into InDesign javascript but I bet it can help you to get in the right direction.
"I think":
In the folder %userprofile%\Documents\Adobe Scripts there's a jsx file created when a new job arrives at the configurator.
impp.jsx in that folder (theres a vdp.jsx too):
So it looks like you need to supply a xml for this, if you are quick you can catch the temporary xml when it enters the configurator, I did for you:
So if you can create a correct SmartStream xml file you can javascript create job
I would look for a xml file in a temporary location when you hit create job, maybe you don't have to read the manual then
Hope it helps,
Sander
"I think":
In the folder %userprofile%\Documents\Adobe Scripts there's a jsx file created when a new job arrives at the configurator.
impp.jsx in that folder (theres a vdp.jsx too):
Code: Select all
#target InDesign-11.064
app.createJob("C:/Users/admin-wihabo/AppData/Roaming/SmartStream Configurators/IMPP/MB_404-1119-tempXML.xml");
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<ScriptParams version="SmartStream Designer v5.5">
<InputPDFFiles>
<File path="D:\SwitchData\backing\4) PDF\automanaged\Asset#2\_1C567_MB_404-1119.pdf"/>
</InputPDFFiles>
<Parameter ParamName="ImpositionTemplateFile" ParamValue="C:\Users\admin-wihabo\Documents\SmartStream Designer\Imposition\210x100_4x_duplex.impp"/>
<Parameter ParamName="CropTo" ParamValue="0"/>
<Parameter ParamName="JobOutputDir" ParamValue="C:\Users\admin-wihabo\AppData\Roaming/SmartStream Configurators/IMPP/"/>
<Parameter ParamName="JobOutputName" ParamValue="MB_404-1119-imposed"/>
<Parameter ParamName="JobOutputFormat" ParamValue="PDF"/>
<Parameter ParamName="JobOutputType" ParamValue="Rich"/>
<Parameter ParamName="PDFPreset" ParamValue="Wihabo druk pms geen snijtekens"/>
<Parameter ParamName="PaperSize" ParamValue="458x318"/>
<Parameter ParamName="JobStatusFile" ParamValue="C:\Users\admin-wihabo\AppData\Roaming/SmartStream Configurators/IMPP/MB_404-1119.xml"/>
</ScriptParams>
I would look for a xml file in a temporary location when you hit create job, maybe you don't have to read the manual then
Hope it helps,
Sander
Re: InDesign Smartstream Create Job Script
Thanks for the info, I will have a test for this
Re: InDesign Smartstream Create Job Script
Sorry but Im just a novice in js InDesign and I can't convert this into Indesign js but still thanks for looking into it
Re: InDesign Smartstream Create Job Script
That's basically what the HP SmartStream Designer VDP Configurator does. Is there something you want to do that can't be handled by the configurator?
Re: InDesign Smartstream Create Job Script
This is how it goes.
Everyday, I'm processing for about 20 to 30 projects that consist VDP on it.
it is like SmartStream> CreateJob> choose jlyt:Last to first then SmartStream> CreateJob> choose pdf
I'm hoping to automate the process using script if it is doable
thank you
Everyday, I'm processing for about 20 to 30 projects that consist VDP on it.
it is like SmartStream> CreateJob> choose jlyt:Last to first then SmartStream> CreateJob> choose pdf
I'm hoping to automate the process using script if it is doable
thank you
Re: InDesign Smartstream Create Job Script
That's what the SmartStream VDP Configurator in Switch can do.
Did you try that one?
Did you try that one?
Re: InDesign Smartstream Create Job Script
Hi All,
Thanks for having time looking into this.
I'm not using switch due to this reason:
Every job that I'm doing have different data list also different artwork and different location. That's why I manually placing it on InDesign.
I'm just wondering if creating job on InDesign SmartStream is scriptable like exporting pdf
thanks a lot guys
Thanks for having time looking into this.
I'm not using switch due to this reason:
Every job that I'm doing have different data list also different artwork and different location. That's why I manually placing it on InDesign.
I'm just wondering if creating job on InDesign SmartStream is scriptable like exporting pdf
thanks a lot guys
Re: InDesign Smartstream Create Job Script
I create thousands of jobs in the VDP configurator with different artwork and such. E.g. for one customer I place two pdf's and do variable data with a supplied csv, so unique artwork and variable data for each job.Every job that I'm doing have different data list also different artwork and different location.
What's your use case? I bet it can be done simpler instead of reverse engineering the SmartStream configurators
Re: InDesign Smartstream Create Job Script
do you do this on switch?I create thousands of jobs in the VDP configurator with different artwork and such. E.g. for one customer I place two pdf's and do variable data with a supplied csv, so unique artwork and variable data for each job.
Re: InDesign Smartstream Create Job Script
Yes sir. But I had to do some creative thinking to workaround some limitations. Probably the same as you come across now
Again, what's your exact case. I'm sure we can figure it out.
Again, what's your exact case. I'm sure we can figure it out.
Re: InDesign Smartstream Create Job Script
what I'm trying to figure out now is, does the InDesign SmartStream is scriptable? also I can't find any syntax