If a user selects a file from the file dialog is there a way to get a reference to the folder the file is in? For example, if a user selects a file and you need to add additional files in the same directory you need to get the same folder to write to.
Use Case:
Jan is a designer at StarTupp, a tupperware company, working on their new app design.
She has been sending prototypes to the development team since last week. With each new change the developers have requesting she send the style guide. See below:
In the last two weeks the designs have changed multiple times and Jan is starting to see an opportunity to automate part of her workflow.
Now whenever she makes a change she opens her plugin, browses to the File she wants to export and clicks the Export button. Not only is her file exported but the updated style guides as well.