cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
Mo
Mo
Level III

Pick File FilterList Argument Options

Can someone help me understand the Pick File options and syntax?

 

1. How can I find the options available for the filter list for Pick File? The Scripting Index shows {"JMP Files|jmp;jsl;jrn", "All Files|*"}, but I've also found {"Excel Files|csv;xlsx;xls", "All Files|*"}. How do I find what options are available?

 

2. What does the "All Files|*" do? I get the same window with and without it.

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Pick File FilterList Argument Options

I think you can use whatever you want in there. The syntax is (and * seems to be wild card for all file types):

 

Label|suffix1;suffix2....

You can try and add different combinations to see what you could do:

Names Default To Here(1);
Pick File(
	"Select JMP File",
	"$DOCUMENTS",
	{"JMP Files|jmp;jsl;jrn", "All Files|*", "Minitab|MAC;mtb", "Text|txt;csv;yml;xml;html",
	"My custom files|asdad;qwerty;verylongfile"
	},
	1,
	0,
	"newJmpFile.jmp"
);

jthi_0-1632322787182.png

 

 

-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: Pick File FilterList Argument Options

I think you can use whatever you want in there. The syntax is (and * seems to be wild card for all file types):

 

Label|suffix1;suffix2....

You can try and add different combinations to see what you could do:

Names Default To Here(1);
Pick File(
	"Select JMP File",
	"$DOCUMENTS",
	{"JMP Files|jmp;jsl;jrn", "All Files|*", "Minitab|MAC;mtb", "Text|txt;csv;yml;xml;html",
	"My custom files|asdad;qwerty;verylongfile"
	},
	1,
	0,
	"newJmpFile.jmp"
);

jthi_0-1632322787182.png

 

 

-Jarmo
Mo
Mo
Level III

Re: Pick File FilterList Argument Options

Thanks, that helps!