Have an account? Sign in
"*" indicates required fields
You agree that CreativePro Network may send you emails, including the newsletter selections above. You can unsubscribe at any time.
By signing in, you agree to our Terms of Use and acknowledge our Privacy Notice.
New user? Create an account
By signing in, you agree to our Terms of Use and acknowledge our Privacy Notice.
Tried your script but got:
Error Number 25
Error String: Expected: )
JavaScript Error!
Engine: main
File: /Users/galleria/Library/Preferences/Adobe lnDesign/Version
14.0 /en_US/ Scripts /Scripts Panel/ ExportToJPGWithTitle.jsx
Line: 22
Source: for (var myCounter = O; myCounter &It; f.length ; myCounter+
+){
Offending Text: ;
Any Suggestions?
Alain
I got the script to work but I have used the “Insert Current Page” function in the INDD file to incorporate the page number into the file name. “100 File Name of this image”.
But that does not seem to get passed to the script or is getting stripped off.
Any suggestions?
Thanks for your script!
Addendum to my post of May 20, 2019 at 11:46 am:
Correction, the name of the file should come from the text box on the same page as the image. The text box is in the Paragraph Style “Images” and in the Object Style “Image Desc”. I should mention that the text box may contain Forced Line Breaks, if that is a factor. If that poses too much of an issue I could generate the export prior to doing the reformatting that adds the Breaks.
Does someone have the complete script that is the sum of all these posts?
I need to take an INDD file with many pages 1920 x 1080 Pixels, each of which contains one image with a text box that contains the image name wtihout the file type suffix, and create a folder with one JPG image per page with the name of the file as the name of the image.
This site uses cookies, but not the kind you eat. We use cookies to remember log in details, provide secure log in, improve site functionality, and deliver personalized content. By continuing to browse the site, you accept cookies.