Question
The dialog box still won't, how to combine these 3 in a dropdown list?
I want to replace it with another format under the original path.
Can these three be combined into a drop down list, for dialog boxes I always find it not so easy.
var selectedFrame = app.selection[0];
var link = selectedFrame.images[0].itemLink;
var linkPsd = link.linkResourceURI.replace(/\.[^\.]+$/, '.PSD');
var linkTif = link.linkResourceURI.replace(/\.[^\.]+$/, '.TIF');
var linkJpg = link.linkResourceURI.replace(/\.[^\.]+$/, '.JPG');
link.reinitLink(linkURI);
