Can FileRequest return a new name?
Posted: Wed Jan 18, 2023 10:43 am
What I tried to do was:
By other words, idea being that user can either choose existing file, or create a new one by giving non-existing file name.
However, seems Hollywood automatically demands you to either choose real existing file, or cancel.
Is there any way to do it this way that I am trying to do this?
If not, then as a request to add one of the modes in such way that it lets you pick a name that doesnt exist as a file.
Idea being that after returning from FileRequest, you can use Exists() to check if that file is an existing one, or if user gave a non existing file name, and then continue accordingly.
Code: Select all
filename$ = FileRequest("Choose a Username/Save File, or create a new one by giving a new name", {path = CurrentDirectory.."/users", file="newname"})
However, seems Hollywood automatically demands you to either choose real existing file, or cancel.
Is there any way to do it this way that I am trying to do this?
If not, then as a request to add one of the modes in such way that it lets you pick a name that doesnt exist as a file.
Idea being that after returning from FileRequest, you can use Exists() to check if that file is an existing one, or if user gave a non existing file name, and then continue accordingly.