You can make a script for user ("export all" button / menu), but script itself need to do it one by one internally. How do you want when filename conflict?
Hi I manage to do that using :
1 create layout with all field that I want to export
2 goto to first field
4 set variable $path ( as per script)
5 export (as per your script)
6 goto next field
7 exit loop if get (condition to get out of loop)
8 end loop
It works. Filename conflict is solve with an id.