Back

If your email is not recognized and you believe it should be, please contact us.

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Export pages to jpg with custom filenames #102168

    It turns out I was able to fix this problem in the script. If anyone has the same problem, it has to do with the property continueNumbering of the current parent section – all spreads started with page 1.
    By forcing it to TRUE it worked:

    if (currentPage.appliedSection.name != “”) {
    currentPage.appliedSection.continueNumbering = true;
    currentPage.appliedSection.name = “”;
    }

    in reply to: Export pages to jpg with custom filenames #102127

    I found this script here and I’m trying to make it work on an InDesign doc I have.
    I’m sort of OK with scripting, but not much at home in InDesign of late.

    (I’m twisting the arm on InDesign a little bit, trying to make it work for me as a way to export lots of mobile screenshots with marketing copy in various languages, merged in.)

    The doc is set up using the recently added CC functionality which allows pages to be arranged in Spreads, up to 10 or so per Spread I think. The Spreads are named for each of the 13 languages I need.
    I have 6 pages per language and they’re named eg. EN1-EN6. (I can’t remember how I got that naming to work…)

    I need to be able to export the pages out as PNGs with the right names; the text fields with the names are set up and this does seem to be working, however only the 1st Spread will export (first 6 pages).
    Then I get this error alert, and I get it for each of the remaining pages:

    “Failed to export the PNG file : Invalid Page number specified”

    I’m guessing the problem here is that the indexing of pages is different when I’m using Spreads in this creative manner?
    Can anyone intuit what I might need to do to fix it?

    Thanks
    Rasmus

Viewing 2 posts - 1 through 2 (of 2 total)