Convert all notes in a document to text
- This topic has 6 replies, 3 voices, and was last updated 6 years, 5 months ago by .
- You must be logged in to reply to this topic.
Learn / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / Convert all notes in a document to text
Learn / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / Convert all notes in a document to text
Tagged: notes
I know that this can be done; I’m just not script-savvy enough to do it. There is an option in the “Notes” panel to take the selected note and have it “Convert To Text.” However, I would like a script to take ALL the notes in a document and convert them ALL to text. Does anyone know how to do that? Thanks!
Hi Aaron,
this can be done with one line. But realize that you maybe get overset text!
app.activeDocument.stories.everyItem().notes.everyItem().convertToText();
Kai
Yes! That’s exactly what I needed, Kai. Thank you so much!
Newbie to scripting here. How do I get that above line to run in InDesign? I’m not very familiar with applescript, javascript and the like. I was trying to make new script files and loaded them into my User panel to run, but am getting error messages.
Hi Holly. Check out the following blog post, and that will walk you through it. Good luck! https://creativepro.com/how-to-install-a-script-in-indesign-that-you-found-in-a-forum-or-blog-post.php
Thanks, Aaron! I was doing just about everything in that post already, but I guess I was using the wrong format/tools by trying to save out files from Script Editor/ExtendScript Toolkit. Then I couldn’t figure out how to save the .txt file as .jsx, since it wasn’t an option in the Save dialog. So I just renamed the extension on my desktop, installed it, and it works. Thank you!!
No problem!
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies allows us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.
You have to be logged in to save.
Not a member? Join Today - it's FREE!