YOu can look into a plugin such as Troi File or wince you are on Windows MooPlugin. It will allow you to choose directory and file paths.
I download MooPlug and its seems to offer the tools I would need. I can't seem to figure out the basic steps. I have an opening menu layout and I wanted to assign a button that would allow the user to click it, get a diaglog box to browse to a folder, then select it and that would save it as the default folder. My folder is currently set by a calculation field with "imagewin:/c:/images/" & IMAGES::IMAGE1
How can I go about setting that /images/ as a variable that is set by the button? Is it possible to make it stick throug file open/closes or would it only last per session?
I think both plug-ins allow you to set the default folder where the dialog first opens. From MooPlug documentation: Moo_DialogFile ( bOpen; sTitle; sDefault )
I assume you are talking about the path to the folder where you want the "pick the file" to start? You could store either be the last folder they used, which you could parse from the file path, or it could be a persistent specified user folder, which you would the plug-in's folder dialog to get.
Is this a hosted environment? Or just a FileMaker file on the user's computer? It makes a big difference, as a hosted file must do a lot more work to know "who" each person is, since the FileMaker file is actually on the server, and the user just has it open on their computer.
P.S. You would need to set this "default folder path" each time the script ran to pick a file, since it is parameter of the plug-in command.
Solved this using the MooPlug. If anyone wants to know how, let me know.