The World Statistics Day celebration continues here in the Community. We all need reliable data for sound decision making. Do you have a data source that you trust most? Head over to Discussions to tell us about it.
Choose Language Hide Translation Bar
Highlighted
charliem
Level III

Prompting user for directory using dialog


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
Highlighted
ms
Super User ms
Super User

Re: Prompting user for directory using dialog

path = Pick Directory()


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

View solution in original post

2 REPLIES 2
Highlighted
ms
Super User ms
Super User

Re: Prompting user for directory using dialog

path = Pick Directory()


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

View solution in original post

Highlighted
charliem
Level III

Re: Prompting user for directory using dialog

Thanks!

Article Labels

    There are no labels assigned to this post.