- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Do Not Open CSV File after 'Save As' when scripting
Hi,
I need to save tables by scripting both as .csv and then as .jmp.
When the .csv table is saved, it is automatically opened in excel (Win 11, JMP17Pro). Is there a way to set an option (or preference) to prevent the behavior?
Thanks
Sebastien
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Do Not Open CSV File after 'Save As' when scripting
This script does not open the .csv file in Excel on my machine (Win11, JMP17Pro). Does it on yours?
dt = open ("$SAMPLE_DATA/Big Class.jmp");
dt << save as ("$DESKTOP/Big Class.csv");
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Do Not Open CSV File after 'Save As' when scripting
As far as I know, that behavior only happens when saving via the GUI
save-as dialog for csv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Do Not Open CSV File after 'Save As' when scripting
This script does not open the .csv file in Excel on my machine (Win11, JMP17Pro). Does it on yours?
dt = open ("$SAMPLE_DATA/Big Class.jmp");
dt << save as ("$DESKTOP/Big Class.csv");
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Do Not Open CSV File after 'Save As' when scripting
It does not open excel. I ran another test for obviously it's working fine. Not sure why I was experiencing that issue. Thanks for the help nonetheless
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Do Not Open CSV File after 'Save As' when scripting
As far as I know, that behavior only happens when saving via the GUI
save-as dialog for csv