Copy link to clipboard
file.exists is not worked as expected.
For a valid file path in the system source
ExtendScript File.exists is working correctly for me, on two different systems. In what version of PPro are you testing it?
Premiere pro version 14.6.0 (Build 51)
We came across this issue when file name contains special characters like Test%20Test
This works fine, too.
var myFile = new File('/Users/bbb/Movies/aaa aaa.mxf');
var exists = myFile.exists;
Perhaps encodeURI/decodeURI could solve the issue, of special characters (like %20 for space)?