er... fromReferencetype
-
do I just not understand how to use this call?
linkFile = FileSystem.fromReferenceString("LinkWindows", FileSystem.AppData);'cause its telling me:
"AppData" is not a valid locationType -
@Lindon Same question…
-
This method is for resolving stuff like this:
FileSystem.fromReferenceString("{PROJECT_FOLDER}Funky.wav", FileSystem.Samples);and is limited to
SamplesandAudioFilesfile types.What Lindon wanted in his original post would be
FileSystem.getFolder(FileSystem.AppData).getRedirectedFolder(); -
@Christoph-Hart Thank you, and helps if we read the docs correctly. :)
-
@clevername27
yeah in another recent thread Dave and I discussed this again, and eventually Dave remembered this;Console.print(FileSystem.getFolder(FileSystem.AppData).getRedirectedFolder().toString(0));