Split PDF with leading zeros

Discussion in 'Automator' started by TheLoneRoger, Aug 1, 2018.

  1. TheLoneRoger

    TheLoneRoger New Member

    Joined:
    Aug 1, 2018
    Messages:
    1
    Likes Received:
    0
    I'm working on an app which needs to be able to read pages from a pdf sequentially.
    The app cannot read pdfs, so I'm using an Automator to split the pdf and convert it to jpegs, but the pages are not sorting correctly because the SplitPDF Action numbers the pages without leading zeros.

    I'm totally new to Automator, in fact I just modified a script that i found online, by just adding the jpeg conversion stage, but from what I can see, there is no way to edit an Action, is that right?
    In which case how might I script a process that will split a pdf into pages that are numbered with leading zeros i.e Page001, Page002, NOT Page1, Page2 etc.?
     
    TheLoneRoger, Aug 1, 2018
    #1
    1. Advertisements

  2. TheLoneRoger

    Cory Cooper Moderator

    Joined:
    May 19, 2004
    Messages:
    5,976
    Likes Received:
    197
    Hello and welcome.

    I don't have much experience with Automator/AppleScript. Maybe the folks over at MacScripter could lend a hand.

    Let us know if they provide a solution,

    C
     
    Cory Cooper, Aug 4, 2018
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.