Import option script
Hi there,
I used this very handy script below since a while, but it stopped working since Indesign 13.1
https://indesignsecrets.com/script-show-options-files.php
It is a very simple one-liner javascript, which allows to show the import options of links again. Very useful when exchanging the page of a placed pdf.
var g; (g=app.selection[0].graphics[0]).place(g.itemLink.filePath, true);
Now the following error appears:
Error Number: 35869
Error String: Cannot create the link resource from the given URI.
My javascript skills are pretty basic and I do not know the Indesign API – I tried to fix it myself, but I couldn't get it to work.
Would very much appreciate if someone could help me with this.