Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

What is the file path syntax when importing?

$
0
0

What is the correct syntax to use for filenames when importing in osx? I've tried a bunch of things but keep getting an error telling me it's not a valid file or folder object. Thanks.

 

var myImportOptions = new ImportOptions();

myImportOptions.file = "path/to/import/file.mov";  <---??

app.project.importFile(myImportOptions);


Viewing all articles
Browse latest Browse all 2143

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>