FileMaker Pro's export command and its script step do what they must do with plenty of options (CSV, tab-text, xlsx, FMP, xml and more; and many possible encodings for both Mac and Windows). However, on the programability and user experience side, one could wish for more. But for some of these problems workarounds are possible.