cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
robot
Level VI

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
jthi
Super User

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

View solution in original post

4 REPLIES 4
jthi
Super User

Re: Open Text File with Non-Standard Extension

Change the selection to All Files

jthi_0-1730828174657.png

 

-Jarmo
jthi
Super User

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
robot
Level VI

Re: Open Text File with Non-Standard Extension

Thank you!

AlmaHall
Level I

Re: Open Text File with Non-Standard Extension

Thank you so much.

Recommended Articles