Question
Moving Indesign files
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).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
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).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