In the script I am writing, I ask the user for a file to import (an Excel file).
I then create a folder at the same level as the imported file to store all the analysis in on spot.
The script basically does
if(directory exists(saveDirectory),
,
create directory(saveDirectory)
);
set default directory(saveDirectory);
The rest of the script saves png files as analysis results. (Please make the PowerPoint output usable, but that is another issue).
This works fine on my Mac but does not work with users running Windows.
The directory is created, but the set default directory is not respected. It is uses the JMP folder in the program files.
I am on JMP 12 and the users are on JMP 11.
Is this a known bug or do I need to do something different for the Windows version?
Andy