Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

error when trying to open

Participant ,
Jan 15, 2014 Jan 15, 2014

I am trying to open an after effectrs project like so

app.open(aep);

where the variable aep is a file object that was aquired using getFiles on a folder object.  I get the followeing error

error.jpg

how can the path not be valid...I never entered a path, I supplied a file object...this is on cs5

Mike

TOPICS
Scripting
411
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jan 19, 2014 Jan 19, 2014
LATEST

I just tried CS5 and did a quick getFiles test and it opened the aep just fine. Does the path it shows in the error actually match the location of the AEP? Also check to see if the AEP will open manually and is not corrupt.

var f = Folder.selectDialog("Choose Folder");

var gf = f.getFiles();

app.open(gf[0]);     //Assumes the first file in the folder is an AEP

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines