Dear All,
I have one script to save data table automatically as .csv. This works for few JMP14 or 15 users, but fails for few JMP15 users. same script runs behind all types of data table save. I tried both, with or without 'convert file path' but cant get to the real reason behind it.
Thanks ! Simanti.
save_csv_file = Function({dt},
try(
path = Pick Directory ("Select a directory.");
print(path);
New Window( "Specify filename",
<<Modal,
file_name = Text Edit Box( "", <<Justify Text( Center ), << Set Width(200) );
);
name_dt = file_name << Get Text();
dt << Save As (Convert File Path( path || name_dt || ".csv")); //this is working
//dt << Save As ( path || name_dt || ".csv"); // this is working too :)
//print(path || name_dt || ".csv");
New Window( "Success!",
<<Modal,Text Box("Your file was saved with success!"));,
New Window( "Ups!",
<<Modal,Text Box("We were unable to save your file, try again!"));
);
);