
User interface to select multiple files and folders

sjr51
I have a long procedure which starts with the User needing to pick the 4 different types of file from disk and specify a disk folder for the outputs. Everything runs at the moment but the User has to know which files to pick and in what order. I'd like a better solution, if anyone has some ideas or perhaps some code to point me to, that would be great!
My ideas so far:
1. A prompt at the start that the User must dismiss telling them which order to pick everything - don't know how to do that and is not very robust
2. A message on each dialog. I've tried this for specifying the output folder (don't know if possible for picking other files) but under macOS it seems that the /M flag does not get displayed(?)
3. A proper solution. Perhaps a panel where the user can pick files and also change their mind if they pick the wrong thing.
Any help would be appreciated.
The first function is below (the subfunction runs
LoadWave
twice).Function LoadImagesForAnalysis() // Load channel 1 tiff ImageLoad/T=tiff/N=ch1tiff/O/S=0/C=-1 "" // Load channel 2 tiff ImageLoad/T=tiff/N=ch2tiff/O/S=0/C=-1 "" // Now load the ComDet data Load2ChComDetResults() // Now specify the OutputFolder NewPath/O/Q/M="Please find disk folder" OutputFolder if (V_flag!=0) DoAlert 0, "Disk folder error" Return -1 endif PathInfo/S OutputFolder String/G gOutputFolder = S_path End
January 20, 2017 at 05:08 am - Permalink
January 20, 2017 at 07:02 am - Permalink
January 20, 2017 at 08:37 am - Permalink
January 20, 2017 at 09:36 am - Permalink