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

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support