Script to put the path of the File in an illustrator document
I was able to figure out how to embed the Date and File Name, now im looking to embed where the file is located within my folder structure on the document. is this possible?
I was able to figure out how to embed the Date and File Name, now im looking to embed where the file is located within my folder structure on the document. is this possible?
var pointTextRef = app.activeDocument.textFrames.add(); pointTextRef.contents = app.activeDocument.fullName.toString(); //pointTextRef.contents = app.activeDocument.path.toString(); pointTextRef.top = -1200; pointTextRef.left = 10;
Using '.toString()' should sort that… You will have to remember to run your script there are no events like document save/close that a script can act upon in this app…
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.