Initial directory for openDialog
hi,
i wondering if it's possible set initial directory file.opendialog() function - can folder.selectdialog().
the file.opendialog() function keep last folder in memory, set initial directory first time click on browse button.
thanks
no problem: create file instance using desired path , file name, call file object's opendlg() method.
var f = new file("/c/temp/myfile.txt");
f.opendlg();
the dialog displaya contents of "/c/temp", , name field preset "myfile.txt".
More discussions in Photoshop Plugin and Companion App SDK
adobe
Comments
Post a Comment