cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to move from signal modeling to system modeling at the first JMP Aerospace Analytics webinar. Register. June 18, 1 p.m. US Eastern Time.

Discussions

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

PickFile() from within a Project does not use file filters

When I use PickFile() outside of a project, it works as noted in the scripting guide, scripting index, and other posts here in the forums. However, when I run the script within a project, the window that opens is a different one. It seems to be in order to allow you to pick a file that is saved to the project itself, but the filters do not work even though it shows the folder that I specified as default. I can get the normal window to come up if I click "Browse", and then with the normal window the filters work correctly like they do when running the script outside the project. For this script, there is never going to be a case where the file is already in the project, so is there a way I can force it to go directly to the "normal" pick file window? I am trying to make this script easy to use for many different people across many different groups at the company, so requiring them to know to click "Browse" each time just seems like an added point of confusion.
 

DataFilePath = PickFile(
"Select Data File",
"$Downloads",
{"Data Files|log;txt", "All Files|*"},
1,
0
);

 

Currently using JMP 16.2.0, in Windows 10.

0 REPLIES 0

Recommended Articles