How to get a file's absolute path into a photoshop extension?
Hi there,
I am trying to submit a file via an input inside a Photoshop extension. But how can I get the absolute path to that file inside the computer?
Thanks in advance
Hi there,
I am trying to submit a file via an input inside a Photoshop extension. But how can I get the absolute path to that file inside the computer?
Thanks in advance
I'm not sure what you mean by submitting a file. Do you want to open a file in PS or do need to declare the path for a supporting file for the extension? With javascript you would set a variable. In Win it would look something like:
var file = new File('/c/images/myfile.psd');
or
var myScript = new File(app.path + '/Presets/Scripts/myJavascript.jsx');
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.