Copy link to clipboard
Copied
how to add alt text in hyperlinks using indesign javascript...!
Copy link to clipboard
Copied
Is this a question? Because it sounds more like a demand ☹️
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
I think you are right. As a more recent feature, it was never added to the API.
Copy link to clipboard
Copied
Is there any alternate way to resolve this issue?
If, yes please suggest....