Answered
How to get a file path?
Suppose a file is open, it is current, so how to get this file unique path by JavaScript without the file name?
Suppose a file is open, it is current, so how to get this file unique path by JavaScript without the file name?
There are several kinds of notation. This is a URI notation. E.g. for adressing and opening files.
If you need C:\ you can get this by
alert("get path of activeDoc: "+(activeDocument.path.fsName));
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.