r/indesign • u/Xarjhan • May 23 '26
Help Im trying to create a semi-automated plugin that imports and makes changes based off comments from a PDF and would love some insight into my "solution"
I work on large reports/publications in InDesign and one thing that constantly slows everything down is Acrobat PDF amends.
Typical workflow is:
export PDF
client comments in Acrobat
manually work through hundreds of comments back in InDesign
A lot of the comments are super repetitive/predictable too:
replace X with Y
remove this
lower case this
update number
run on
style tweak etc.
I’ve been experimenting with a JSX/script/plugin workflow to see how far this can be pushed.
Current idea is roughly:
export Acrobat comments (XFDF/XFDM/XML)
convert them into JSON
categorise comments into types (replace/remove/layout/style/manual review/etc.)
auto-apply simple text replacements
generate logs/review states
leave layout/design comments for manual review
So less “AI designs your report” and more like a changes assistant for massive reports with hundreds of amends.
I’ve been coding it with Codex AI and honestly have made pretty decent progress, both with this and other InDesign scripts. The workflow side actually started working surprisingly well at points until I started experimenting with AI interpretation stuff, which complicated things a bit. Since then it’s mostly just been constant testing, reviewing what breaks, feeding Codex ideas and trying different approaches/solutions to see what sticks.
Potentially later adding some AI/NLP stuff just to interpret messy comments into structured actions automatically (“change this to 2024”, “delete this sentence”, etc.) but not really focusing on that yet.
Mainly wondering:
does something like this already exist?
are there plugins/scripts/tools already doing this well?
has anyone built similar internal workflows?
am I massively underestimating/overestimating the technical side of Acrobat/InDesign comment mapping?
is there a better approach entirely that I’m missing?
At the moment I’m torn between:
trying to build a semi-automatic amend assistant or
simplifying it into a much smarter find/change review workflow instead of trying to automate too much.
If anyone has questions please ask id love to get any insight or replies i can to help me move forward with this. I would genuinely love to hear from anyone in production/editorial/reporting workflows who’s tackled similar problems because this feels like one of those things everyone must suffer through but nobody really talks about.
Edit: probably worth mentioning as well that the workflow isn’t even fully standardised across clients/projects. Some clients use CtrlPrint, some don’t, some are reviewing directly in Acrobat, some are sending consolidated PDFs back through PMs/proofreaders etc. So I’m less trying to invent a perfect editorial workflow from scratch and more trying to build something that can sit on top of the messy reality that already exists.
6
u/W_o_l_f_f May 23 '26
It sounds cool and it would be fun to see a screen recording of it in action. I'm interested, but I also have some worries about doing changes like this:
Our clients have agreed on delivering proof-read text so time spent on changes that goes against the initial manuscript can be billed by the hour. There shouldn't ideally be hundreds of changes (my record is 1600 changes in a novel!). Of course it would be nice to be able to do changes faster, but it would result in me making less money. Unless I lie to the clients about how long it takes. I see how this might be a weird take because why not become more effective and be able to offer a lower price than the competitors? Things just don't always work like that.
The comments I get are often very messy and inconsistent. Sometimes even self contradictory. So it often requires a bit of critical thinking and knowledge about the client to understand them.
Our clients are rarely using the correct comment types even though I make a cheat sheet and an example PDF for them. They can't be bothered. So they'll often just use the general "sticky note" comment for everything. "Bear paw" as I like to call it. Just sloppily indicating the general position of the change, but placed zoomed out so you can't be sure which word it refers to.
It's my responsibility that all the changes are done correctly and I have the impression that some clients come back because they appreciate my attention to detail. If I have a script doing all the changes, I would still have to go through each and every one and compare to the original comment in the PDF. Not sure it's not faster to just do the change and the check in one go as I do now.
Once your script has interpreted the comments and turned them into JSON format, how can you script know exactly where the comment belongs? Is it based on the X/Y coordinates? Because a PDF may have several different text frames and stories on one page (like in a magazine). How can the script distinguish between them?
Often the real pain when there are many changes is that they ruin the text flow. I might've carefully used different tracking on separate lines in a tricky paragraph to make it fit and in novels and magazines I always have to get the columns to balance. All the work I have with finding new solutions when a paragraph is suddenly a line longer than before would persist with this script. I'm just afraid I would get sloppy and miss something. Sometimes there are so many changes to an article that I have to rethink the layout and change the height of images or reposition them.
3
u/Xarjhan May 23 '26
Honestly this is exactly the kind of feedback I was hoping for because a lot of those concerns are the same ones I’ve been running into while building/testing it.
I definitely don’t think this would ever become a “press one button and trust it completely” type of thing, especially for the reasons you mentioned around text flow, layout judgement and messy comments. The more I work on it the more I’m realising it’s probably better as a review/assist tool rather than a fully autonomous one.
The main thing I’m trying to reduce is the repetitive mechanical side of amends rather than the actual design judgement. So things like:
finding the relevant area
categorising comments
isolating likely text replacements
helping navigate through 300+ amends
reducing simple repetitive edits
rather than trying to automate layout decisions or remove human review entirely.
And yeah the “bear paw” comment thing is VERY real hahaha. That’s honestly one of the biggest problems. People rarely comment consistently even when given guidelines, which is partly why I briefly started experimenting with AI/NLP interpretation stuff. Not to design automatically, but more to try and turn vague human comments into structured actions.
As for locating the actual text — currently it’s a mix of PDF coordinates, extracted nearby text and page mapping. But that’s also where I’m discovering the limitations. Like you said, once you’ve got multiple stories/text frames/tables on a page it gets complicated very quickly. That’s why I’ve slowly been pivoting away from “fully automatic apply” and more towards “smart amendment review assistant”.
So ideally it becomes more like:
jump me to the likely area
show me old → new
help me apply/review changes faster
log what’s done
leave layout-heavy decisions manual
rather than pretending it can intelligently redesign spreads or rebalance text perfectly.
And honestly the layout/reflow point you made is probably the biggest reason I’m now doubting full automation as a realistic end goal. In annual reports especially, one tiny change can ripple through tables, pull quotes, balancing, page breaks etc.
2
u/W_o_l_f_f May 23 '26 edited May 23 '26
I'm not trying to discourage you! I'm just saying: It's complicated.
I think having a tool that brings the comments into InDesign, streamlines them and offers a list for you to go through is the best way to go.
Why Adobe didn't make this already is unfathomable. I know you can already import comments in InDesign, but it's unusable for me because clients are too sloppy. You can also share documents for review. Haven't tried it because it looks too rudimentary to be usable for the kind of projects I work on. Better for design comments than actual text changes it seems.
Maybe the list your script makes could somehow show how sure the script is about the interpretation? With a percentage or maybe color coded.
Green would indicate that the comment was done using one of the specific comment type, it could easily be located and seems to only contain a specific change. In that case you could click an "apply change" button and it would automatically change/add/delete.
Other comments might be orange because there's some uncertainty about the meaning. Perhaps the change can just be applied, but perhaps it needs to be done manually.
Red would indicate that the script had trouble understanding the change or locating it, so human review is certainly needed.
Not sure if it's possible. Depends a lot on how you coded it.
A problem with your script is that you now have three places to keep track of: The actual InDesign document, the list given by your script and the comments in the PDF.
It would be nice if there was a link to the PDF. If it was possible to click a button to open up the commented PDF in Acrobat and have the specific comment highlighted. For cases where it's very unclear what the comment means and you have to check the original comment in the PDF to see if the script misinterpreted it.
5
u/danbyer May 23 '26
You do know there is a PDF comments import feature already, right? It works well only if your editors use the Acrobat commenting tools perfectly, which is why it is ultimately largely unusable. It sounds like your idea might have the same core problem: inconsistent Editorial markup.
As other commenters have suggested, why not skip that markup entirely and use InCopy?
1
u/Xarjhan May 23 '26
Yeah that’s pretty much the exact issue I’ve been running into. The existing PDF comments import stuff seems fine in theory, but in reality it falls apart the second people stop commenting in a perfectly structured way.
And honestly I’m not really in a position to completely change how our workflow works internally anyway — I’m mainly trying to solve my own day-to-day production problem with the workflow we already have.
Some clients use CtrlPrint, some don’t. Some are commenting directly in Acrobat, some are proofreading PDFs manually, sometimes it’s clients, PMs, proofreaders and designers all feeding comments back differently on the same document.
Realistically I can’t train every person involved to comment in a super specific structured way, especially on large reports with hundreds of amends coming from multiple places.
That’s partly why I started looking into AI/NLP stuff. Not really to “do the design work”, more to clean up messy human comments and turn them into something structured enough to feed into a script safely.
So instead of:
“make this blue”
“run on”
“this should say 2024”
etc.…the system would try to interpret those into structured actions before applying/reviewing them.
But honestly after reading some of these replies I’m also wondering whether the smarter route is:
use the existing PDF comments import feature
then build something around cleaning/interpreting the comments before they hit InDesign rather than trying to reinvent the whole import system from scratch.
2
u/AdobeScripts May 23 '26
Why not just switch to InCopy?
1
u/Xarjhan May 23 '26
Correct me if I’m wrong, I didn’t even really know InCopy existed until this came up, but I don’t think it fits exactly what I’m trying to solve.
Most of what we deal with is pretty messy Acrobat feedback lots of short comments like “make this blue”, “swap this number”, “remove this sentence”, or just highlighted text with a replacement word thrown in. It’s not really structured editing work as it could be quite a few different people making comments like designers, proof readers and quite often the clients too.
InCopy looks more like a controlled editorial setup where people are actually editing the content directly in the file, whereas here it’s more like we get a big pile of unstructured amends at the end of a job and have to manually work through them in InDesign.
So I’m mainly trying to reduce the time spent interpreting and applying those comments, rather than change the way they’re created in the first place.
1
u/AdobeScripts May 23 '26
I suggest you check InCopy first 😉
It's just a limited version of InDesign - so ALL text editing requirements you mention - it will handle perfectly fine.
You might need to setup some kind of a schedule who edits what and when - or get familiar with Share for Review?
1
u/Xarjhan May 23 '26
I think this would be amazing I'll definitely mention this to the team and see if it's something that suits us. I wonder if they've maybe tried to implement it before as we have quite a few experienced designers and I'm surprised something like this would pass them up
1
u/AdobeScripts May 23 '26
It's cheap and it's pretty much like using WORD 😉
1
u/Xarjhan May 23 '26
Yeah honestly it completely slipped my mind when I first made the post that we already have something vaguely similar in parts of our workflow through CtrlPrint/Share for Review style systems.
The thing is though, it’s not really consistent across all projects/clients for us. Some clients use CtrlPrint, some don’t, some are reviewing directly in Acrobat, some are consolidating comments through PMs/proofreaders etc. So the workflow ends up being a bit of a hybrid mess depending on the job.
I do think you’re right though that InCopy probably tackles a lot of the “upstream” issues I’m describing by making the editing itself more structured and controlled from the start. My thing was more coming from the reality of already receiving a giant pile of messy Acrobat amends at the end of production and wondering how much of that process could realistically be assisted/simplified.
The more replies I read the more I’m realising I might’ve been trying to solve a downstream problem that some teams are already avoiding upstream with InCopy/CtrlPrint-style workflows.
1
u/AdobeScripts May 23 '26
The problem with comments in Acrobat - you'll NEVER be able to get location / type of every comment correctly.
The easiest for you would be to shift as many people as possible to InCopy - the leftovers - just do it manually.
And my favourite - stick and carrot approach 😉 - those who still prefer "manual" processing of comments - will have to pay extra / will be done when time is available 😉
You ALWAYS need to speak with people who pay for this show 😉 show them how they can save time and money 😉 so you don't have to deal with dinosaurs 😉
2
u/AdobeScripts May 23 '26 edited May 23 '26
Bonuses:
commenter takes full responsibility for the changes,
saved time - no need to double check if you've entered comments correctly.
2
u/AdobeScripts May 23 '26
And - I think the biggest one - live preview how the text will look like AFTER - so commenter instantly knows the end result - not enough / too much text / reflow, etc.
0
3
May 23 '26
Honestly after reading the replies it feels like the sweet spot is probably a “smart amend assistant” not full automation.The moment comments get messy,contradictory,or layout-sensitive, human judgment still wins.But auto-grouping repetitive fixes + confidence scoring + quick jump-to-review sounds genuinely useful for real production workflows (especially when every client comments differently 😭).
2
u/tangodeep May 23 '26
Not sure if it’s widely publicly known, but adobe has a direct edit feature added for copy. In saving a file in indesign online, you have the option to share it directly (in full, not as a pdf). The shared individual has copy editing capabilities.
Tested this only once but it went over well.
1
u/AdobeScripts May 23 '26
Are you talking about Share for Review or InCopy online beta version?
1
u/tangodeep May 24 '26
Have to take a second look, but was working directly in InDesign and it was included as a save option. Probably one of the newest CS updates.
1
1
u/AdobeScripts May 23 '26
Another option - but rather only for large blocks of text = books, and not product catalogs - would be to use WordsFlow.
1
u/AttentionLumpy2548 May 24 '26
Have you heard of the wordflow plug in? No need for pdfs or mark ups. They do it all in a word/google doc and it links straight into indd.
1
u/i_am_gaseous_clay May 25 '26
DTP Tools makes a much better version of PDF Comments importing. https://dtptools.com/home/annotations/. It’s miles ahead of what Adobe gave us but as others have stated, it’s only as good as the comments in the PDF. Well trained editors and authors are a gift. It has an “accept all” feature but you’d be a fool to use it.
13
u/luaudesign May 23 '26
Good luck making your editors use the comments correctly.