I know there's a way to get path using
Code: Select all
However, seems the authorAccess can be only passed when open a dialog, so it will keep the same even though I choose another file. That means once new a dialog, the filepath would remain the same unless close the dialog. If I click on other file while that dialog is open, I cannot get new authorAccess. (we want to prevent user from doing sth on different files)
How to new another authorAccess ? Or is there another way to get file path ?
Thanks a lot!