ExportAFile default directory

Hi there,

Just got a quick question. I’m trying to export a file, got everything working perfect but im wondering if we can choose a default directory? Instead of just using desktop

Thanks for any help.

Script code:

function ExportMyFile(Path,FileNameDLG: String): String;
begin
Result := ExportAFile(Path, "Save LSP File", FileNameDLG); 
end;       

php code:

$filename = exo_return_hescriptcom("UserMain.ExportMyFile|".$file."|".$_POST'mip'].".lsp", "Error");

No, unfortunately, you can’t choose a default directory…