6 Replies Latest reply on Feb 26, 2013 8:51 AM by Harbs.

    How to rename a file while importing to Adobe Premiere Pro?

    NirmalRaghavan

      I'm developing an extension for Adobe Premiere Pro using CS Extension Builder to import files from internet. I achieved that using the following code

      var app:App = Premiere.app;
      var pjct:Project=app.project;
      var astPath:String = "path to file";
      if(pjct!=null)
      {
           var fileArray:Array=[];
           fileArray.push(astPath);
           pjct.importFiles(fileArray);
      }
      

       

      Now I have to rename the file before it is imported to Premiere. I don't want to use the file name as it is in the server. How can I do that?