5 Replies Latest reply on Mar 6, 2009 2:22 AM by hm_arul

    Moving Indesign files

    hm_arul Level 1
      Hi scripters,

      here I am trying to move Indesign files from one path to another path

      var myFolder = Folder.selectDialog("Please select a folder");
      var myinddfolder = new Folder(myFolder.fullName + "/indd");
      myinddfolder.create();
      var myFiles=myFolder.getFiles( "*.indd" );
      for ( i=0; i < myFiles.length; i++ ){
      File(myFiles[i]).Move(myinddfolder);
      }

      I think Indesign cant support with FSO(File System Object), the above code is my steps to move files, but I am getting error in Move command.

      Please advice me how can I move files?

      thanks in advance

      regards
      a r u l