Skip to main content
Participant
December 20, 2022
Answered

Extract text of description fields

  • December 20, 2022
  • 2 replies
  • 542 views

Heloo guys, any chance to export and import all text of description fields?

 

 

This topic has been closed for replies.
Correct answer Loic.Aigon

Have you check description property on the item ?

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#FormField.html

 

Export/Import would basically mean looping through all interactive elements (forms only?) and set/get the description.

 

HTH

Loic

2 replies

Loic.Aigon
Loic.AigonCorrect answer
Legend
December 20, 2022

Have you check description property on the item ?

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#FormField.html

 

Export/Import would basically mean looping through all interactive elements (forms only?) and set/get the description.

 

HTH

Loic

Joel Cherney
Community Expert
Community Expert
December 20, 2022

I don't know if it helps Edgard, but it certainly helps me!

 

(At least, it will, when forms design tools in InDesign eventually (someday?) reach feature parity with forms design tools in Acrobat. Then I can stop saying "I do all my forms work in Acrobat because there is feature x that is available in Acrobat but not in InDesign.")

Joel Cherney
Community Expert
Community Expert
December 20, 2022

I have no idea how to do it in InDesign.

 

In Acrobat Pro, you can use Javascript to import and export these descriptions. I personally don't use try67's tool, but it works quite well, so long as you're only after tooltips on text fields. 

Participant
December 21, 2022

Hi Joel, thank you for your reply!
I need to extract this text from a huge form and translate into other languages.

You mentioned about Javascript, do you know other tool or script instead Try67?