<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />I was pleased to discover how easy it is to prompt a user to find a file to open, like this:
Open();
But, what do I do if I want to include other arguments? For example, if I want to make the opened file invisible after prompting the user to select a file? The following produces an error:
Open( , "Invisible");
"Error: Open argument must be string in access or evaluation of 'Open' , Open( Empty(), "Invisible" )"
I ask because I'm trying to get started creating JMP applications - I want to be able to click a button to prompt the user to open a data table, but display the data inside the application itself instead of popping up a new data table.
The best way is to use Pick File().
file = Pick File();
Open(file, Invisible);