Subscribe Bookmark RSS Feed

Prompting user for directory using dialog

charliem

Community Trekker

Joined:

Apr 4, 2014


I have a program which does what I want it to do but one featuer I don't like is that it puts all results into the same directory each time it is run.

I think it would be better if it prompted the user with something like a file dialog and let the user select the directory where he wants the data to go. Ideally this dialog would allow the user to move around the directory structure interactively, create new folders, etc... (in other words it shoudl behave just like a normal file dialog) but instead of saving a file or opening one it would return the path to the directory that the user selected this way.

Is there a dialog in JMP which behaves this way? I didn't see anything like this in the scripting guide or by searching.

TIA.

Charlie

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

path = Pick Directory()


Have a look in the Scripting Index for the optional arguments of this function.

2 REPLIES
Solution

path = Pick Directory()


Have a look in the Scripting Index for the optional arguments of this function.

charliem

Community Trekker

Joined:

Apr 4, 2014

Thanks!