← All bug reports

FS#2661Exception in ExCsvExport.js, File.js not included.

Type
Bug
Status
Closed
Resolution
Fixed
Category
ECMAScript
Severity
Very Low
Priority
Low
Reported version
3.32.2
Operating system
All
Reported
2025-04-13 by CVH
Closed
2025-04-14 by andrew
Votes
1

Andrew,

This example tool from the Misc section runs fine when we have already saved or exported a file using the standard File dialog, if not an exception is thrown.

Top of the code should include a reference to File.js:

include("scripts/EAction.js");
include("scripts/File/File.js");

Regards,
CVH