Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Does anyone use Automator on a regular basis?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Lifeisabeach" data-source="post: 1820179" data-attributes="member: 38864"><p>Ok, this took some trial and error. As per Automator World, the numbering is completely random and a simple rename won't work because you can't distinguish which jpg is page 1 for subsequent documents when batching this. But I found a way around that. I suggest saving this as a "Quick Action", which will be accessible from the Services menu by right-clicking the PDFs you want to run this on.</p><p></p><p>This workflow starts by splitting the selected PDFs into separate PDF pages. These will be named sequentially and not randomly. So in the demo I was running, Document 01 is split into Document 01-page1, Document 01-page2, and so on. The next step will then render them all as JPGs. Afterwards, it will move the JPGs to a folder of your choice. And so, here we go....</p><p></p><p></p><p></p><p>One quirk I have here is that the JPGs will have " 2" appended to the end of the filename. You can use a renaming tool to quickly remove that by the "remove two characters from the end" option that most of them have. There's not a clean foolproof way for me to do this automatically in the workflow without risking messing up your preferred filenames. I also wasn't able to easily filter just "page1" for conversion to JPG, so once done, just filter the folder contents yourself in Finder for "page1" and then move them to another folder of your choice. You can then delete what's left. It should be possible to automate this, but it's going to overcomplicate the task and this is easy enough to do manually, especially if it's a one-off task. I can work it out if you need me to.</p><p></p><p>[ATTACH=full]29824[/ATTACH]</p></blockquote><p></p>
[QUOTE="Lifeisabeach, post: 1820179, member: 38864"] Ok, this took some trial and error. As per Automator World, the numbering is completely random and a simple rename won't work because you can't distinguish which jpg is page 1 for subsequent documents when batching this. But I found a way around that. I suggest saving this as a "Quick Action", which will be accessible from the Services menu by right-clicking the PDFs you want to run this on. This workflow starts by splitting the selected PDFs into separate PDF pages. These will be named sequentially and not randomly. So in the demo I was running, Document 01 is split into Document 01-page1, Document 01-page2, and so on. The next step will then render them all as JPGs. Afterwards, it will move the JPGs to a folder of your choice. And so, here we go.... One quirk I have here is that the JPGs will have " 2" appended to the end of the filename. You can use a renaming tool to quickly remove that by the "remove two characters from the end" option that most of them have. There's not a clean foolproof way for me to do this automatically in the workflow without risking messing up your preferred filenames. I also wasn't able to easily filter just "page1" for conversion to JPG, so once done, just filter the folder contents yourself in Finder for "page1" and then move them to another folder of your choice. You can then delete what's left. It should be possible to automate this, but it's going to overcomplicate the task and this is easy enough to do manually, especially if it's a one-off task. I can work it out if you need me to. [ATTACH=FULL]29824[/ATTACH] [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Does anyone use Automator on a regular basis?
Top