cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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!

Recommended Articles