Is there a way to change the export settings so that all values in the resulting CSV file are enclosed with double quotes?
Current output example: 1000,AA,Room,8,Center,...
Desired output example: "1000","AA","Room","8","Center",...
I pulled this script from a related post, but can't seem to find the correct settings to make it work:
dt = Current Data Table();
// Get current prefs
current_pref = Char( Arg( Parse( (Char( Get Preferences( Export settings ) )) ), 1 ) );
show(current_pref);
// Set prefs (comma delimited, quotes, keep headers)
Pref( Export Settings( End Of Field( double quote, CSV(0) ), Export Table Headers( 1 ) ) ); //what settings here would give the double quotes?
// Save csv file
dt << save( "$Desktop\test.csv" );
//Restore original prefs
Eval( Parse( "pref(" || current_pref || ")" ) );
Thanks in advance for any suggestions.