Hi!
Have searched but i cant find a good way of retrieving the source path of the current .AI file. Is it possible?
IE: If i am working with a file in C:\adobe\Illustrator\beautifulfile.ai i want a function that retrieve C:\adobe\Illustrator\
// Clint
your example C:\adobe\Illustrator\beautifulfile.ai
Well, try this:
alert(app.activeDocument.fullName.parent.fsName); // = C:\adobe\Illustrator
or (if last backslash is really needed):
alert(app.activeDocument.fullName.parent.fsName + "\u005c"); // = C:\adobe\Illustrator\
North America
Europe, Middle East and Africa
Asia Pacific