How does your data table look like? Something like this?
or like this?
One option would be to build a string and then save that using save text file().
Names Default To Here(1);
dt = New Table("Untitled 2",
Add Rows(7),
Compress File When Saved(1),
New Column("Column 1",
Character,
"Nominal",
Set Values(
{"MD16616,1,23,3,", "MD16616,1,26,4,", "MD16616,1,22,4,", "MD16616,1,23,4,", "MD16616,1,16,2,", "MD16616,1,11,6,",
"MD16616,1,24,7,"}
)
)
);
save_str = "";
For Each Row(dt,
save_str ||= :Column 1 ||"\!N"
);
Save Text File("$DOWNLOADS/text.txt", save_str);
You might have to use different row changes or remove last row change depending on your other application.
Also if you manipulate users preferences, you should save them to temporary file, there will be cases where JMP will for example crash before you are able to set them back.
-Jarmo