- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Open Text File with Non-Standard Extension
Is there an easy way for JSL to open a text file with a non-standard file extension? For example: I would like to open a text file with an extension like ".ridiculous", but JMP is not able to select this file using Open() dialog. Any ideas? I am using JMP 18.0.1.
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Open Text File with Non-Standard Extension
And if you are building UI and wish to have more customization options you can use Pick File()
Names Default To Here(1);
filepath = Pick File(
"Select JMP File",
"$DOCUMENTS",
{"All Files|*"},
1,
0,
"newJmpFile.jmp"
);
If(IsMissing(filepath),
Throw("No file selected");
);
dt = Open(filepath);
-Jarmo
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Open Text File with Non-Standard Extension
Change the selection to All Files
-Jarmo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Open Text File with Non-Standard Extension
And if you are building UI and wish to have more customization options you can use Pick File()
Names Default To Here(1);
filepath = Pick File(
"Select JMP File",
"$DOCUMENTS",
{"All Files|*"},
1,
0,
"newJmpFile.jmp"
);
If(IsMissing(filepath),
Throw("No file selected");
);
dt = Open(filepath);
-Jarmo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Open Text File with Non-Standard Extension
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Open Text File with Non-Standard Extension
Thank you so much.