Skip to main content
Participant
September 3, 2024
Question

alt text

  • September 3, 2024
  • 2 replies
  • 395 views

how to add alt text in hyperlinks using indesign javascript...!

This topic has been closed for replies.

2 replies

m1b
Community Expert
Community Expert
September 3, 2024

Hi @Frans v.d. Geest, I think this is just a language issue. @Suriya G for an English question, please append the "?" not the "!". 🙂

 

Actually it is a very good question, and I've rummaged in various places in the scripting API to find an answer and so far I've failed. I don't even know which DOM object the Alt Text belongs to. It isn't saved in a snippet (.idms) and it doesn't seem to be stored in the Hyperlink. I couldn't find it in the object model anywhere.

 

The answer may be that we can't access Alt Text via the scripting API, but I do hope someone more knowledgable than I will give a better answer!

- Mark

brian_p_dts
Community Expert
Community Expert
September 3, 2024

I think you are right. As a more recent feature, it was never added to the API. 

Frans v.d. Geest
Community Expert
Community Expert
September 3, 2024

Is this a question? Because it sounds more like a demand ☹