Script remembers previous file path?

Hello,

I’m using Data Shapes for putting together user-input dialog boxes, and I’m referencing XLS workbooks for a bunch of analysis. I have DS dialog boxes that prompt the user to select the file path, but every time I run the script, and have to select the file again. Granted the folder location is consistent, I’m looking for a solution where, after the initial file selection, the script “remembers” the selected file in subsequent runs. Is there a solution for this?

Thanks

1 Like

Write the file path to an intermediary text file, say somewhere in the temp folder or in the same location as the graph. Then read that file and use the contexts of the text to populate the default value.

2 Likes