Answered
How do I get the path to an image?
I have an Image selected on the page. How do I get the path to the image? I see a "name" property but this just gives me a blank string. I am using CS6 and JavaScript. Thanks.
Rick
I have an Image selected on the page. How do I get the path to the image? I see a "name" property but this just gives me a blank string. I am using CS6 and JavaScript. Thanks.
Rick
I found what I was looking for:
var graphic = app.selection[0];
alert (graphic.itemLink.filePath);
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.