File.openDialog make me crasy
Posted: March 21st, 2013, 1:41 pm
Hi,
i don't like help file when information are bad !!!!
( Javascript tool guide - Adobe) ...
I'm trying to popup a dialog box to select file (xml or ase)
js guide give this exemple for filter : "JavaScript:*.jsx;All files:*.*"
If you try do do this you can't get it to work, the good syntax is : "JavaScript:*.jsx,All files:*.*"
...you need to replace ";" by "," .....
SO , when using this syntaxe this is working, but it's not exactly what i want to do .... i don't want the user to select the file type before selecting his file,
i want he can select 2 file type : visible at once: not *.xml or *.ase, but *.xml + *.ase... how is it possible to do that ?
Thanks for your help
Mr
i don't like help file when information are bad !!!!

I'm trying to popup a dialog box to select file (xml or ase)
js guide give this exemple for filter : "JavaScript:*.jsx;All files:*.*"
If you try do do this you can't get it to work, the good syntax is : "JavaScript:*.jsx,All files:*.*"
...you need to replace ";" by "," .....

SO , when using this syntaxe this is working, but it's not exactly what i want to do .... i don't want the user to select the file type before selecting his file,
i want he can select 2 file type : visible at once: not *.xml or *.ase, but *.xml + *.ase... how is it possible to do that ?
Thanks for your help
Mr