I've recently finished a script that does all sorts of things based on a folder selected by the user. One of the first things it does is open a specific file, which isn't a problem at all, I just told it which file to open and it did.
The thing is, I'd like to allow the user to select which file to use, as we have more than a couple options, depending on what the end result will be. Is it possible to replace the open(fileRef); in that script with a list of the files in a certain folder that the user gets to select one of? From there, that selection would act as fileRef throughout the rest of the script.
Off topic, in that thread I linked, I answered some of my own questions. While I know you aren't supposed to create fake usernames to award helpful and correct answers, is it bad ettiquette to asign them to myself? I thought if someone were to need something similar, the answers I marked helpful would be, just that, helpful.