Open specific folder containing pdf files
I have a folder containing only pdf files. All of them are 2437 single-page pdf documents. I use Photoshop java script to open and print these files. The script opens my specific folder's Open dialog and I can select one of pdf.
But sometimes when opening, Photoshop changes size of pdf image !
So I need a script to open specific directory and open/select only documents with "*.pdf" extensions and To keep the size of pdf unchanged, with original size.
Can anyone help me?
P.S.: Now I use this script:
var dir = Folder('F:/Personal');
var files = dir.openDlg('This is always the same folder?','',true);
if( files !=null ){
for(var f = 0;f< files.length;f++){
// really should check that the file object is an image file
// that Photoshop can open
open(files[f]);
}
}
How to change this script or to write new one?

