Copy link to clipboard
Copied
Hi there,
anyone can help? i needed a JS to get the selected image link info.
thank you very much..
try this with selected a link (not its frame);
alert(app.selection[0].itemLink.filePath);
and you have pick up the perperties as you need.
Copy link to clipboard
Copied
Hi there,
anyone can help? i needed a JS to get the selected image link info.
thank you very much..
try this with selected a link (not its frame);
alert(app.selection[0].itemLink.filePath);
and you have pick up the perperties as you need.
Copy link to clipboard
Copied
try this with selected a link (not its frame);
alert(app.selection[0].itemLink.filePath);
and you have pick up the perperties as you need.
Copy link to clipboard
Copied
Hi,
When link is not selected, an object where link is placed is selected, you can use
app.selection[0].allGraphics[0].itemLink
For all properties of link you can find from from the following documentation
https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Link.html#d1e299136
Copy link to clipboard
Copied
Thanks all for the help and advice...
🙂