I'm looking for a script to convert the contents of comments in a Word doc to InDesign notes.
The Word import plugin is not scriptable. I would like to write a new one, but it is a huge project.
Indeed. There is a ton of things I would like to improve in the current Word import filter. I wrote a Word-to-HTML converter from scratch (a tall task, and so it's nowhere near completion) just so I could copy the odd Color Highlight and Inline Math Formula out of the HTML preview into InDesign.
I imagine this might have been asked before on https://indesign.uservoice.com/ but alas, its Search Field is incredibly
dumb basic and searching for "word comments" shows page after page about "word' or "comments", but not both. But you could try and ask there, as "comments" is now A Thing in an InDesign document and so they might be imported just like PDF comments.
Thanks Jongware ... getting them to import as PDF comments ... hmmm. Could be a workaround there.
Hi Anne Marie,
some time ago I wrote a script to import word documents via Word-XML-Document format. Some new features from InDesign CC are not implemented. But you can test the script with your Word document if you want.
Okay, thanks. I would like to noodle with it. Is it downloadable anywhere?
Hi Anne Marie,
please note that InDesign does NOT support Notes in footnote texts.
A feature I am missing for years.
( ACP )
Here is a workaround I've just tried and seems to work.
Used this macro in Word to convert the comments to inline comments with a green color...
Dim i As Long
For i = ActiveDocument.Comments.Count To 1 Step -1
.Range.Font.ColorIndex = wdGreen
Import this new Word doc as usual, then use the Find to locate the green text. At each find I have a keyboard shortcut to "Convert to Note". Repeat for each find. It would be great if the Find could somehow execute the shortcut (maybe a grep code) or maybe a script to do the same. This goes pretty quick though if you just hit the spacebar after each shortcut to go to the next find. Might have to check the spaces around the Note location. At times there are none and others an extra.
That is a clever idea. You could probably have a script in ID to convert the coloured text into notes.