Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: How to Export two different type of images at the same time?

$
0
0

Thank you for the code. somehow I am new to this, I know that I need to transform that code in a vbs file then put that into the script folder. which I did.. but my problem now is I can't make it work.
Perhaps it is the way that I am trying to make it work but maybe it is the code.

 

when I double click to run the script it shows me that.

 

Windows Sripting Error!

 

Error Number: 1024

Error String: Instruction Attendue

 

Engine default

File C\ ***\****

Line 3

Source//change Pdf_Presets[i].name as per ur preset

 

Or I am not sure what the result should be actualy.

 

and wait, I succeed to save it into a jsx file. and I can open the code editor. when I press play to make it work it unlight that region :

 

 

app.activeDocument.exportFile(ExportFormat.pdfType, myFilepdf, false, pdfPreset);

 

is there a reason why?


Viewing all articles
Browse latest Browse all 37788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>