This content has been marked as final.
Show 1 reply
-
1. Re: How to get only the graphics path without graphics names?
Muppet Mark-QAl63s May 7, 2010 4:22 AM (in response to Praveen10)Something like this should get you close…
#target indesign function main() { if (app.documents.length == 0) { alert('Please have an "Indesign" document before running this script.'); return; } docRef = app.activeDocument; with(docRef) { var x = rectangles[0].allGraphics[0].itemLink.filePath; var y = new File(x).parent.fsName; $.writeln(y); } } main();


