HISE Logo Forum
    • Categories
    • Register
    • Login

    er... fromReferencetype

    Scheduled Pinned Locked Moved General Questions
    5 Posts 3 Posters 522 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LindonL
      Lindon
      last edited by

      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 
      

      HISE Development for hire.
      www.channelrobot.com

      clevername27C 1 Reply Last reply Reply Quote 1
      • clevername27C
        clevername27 @Lindon
        last edited by

        @Lindon Same question…

        Christoph HartC 1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @clevername27
          last edited by

          This method is for resolving stuff like this:

          FileSystem.fromReferenceString("{PROJECT_FOLDER}Funky.wav", FileSystem.Samples);
          

          and is limited to Samples and AudioFiles file types.

          What Lindon wanted in his original post would be

          FileSystem.getFolder(FileSystem.AppData).getRedirectedFolder();
          
          clevername27C 1 Reply Last reply Reply Quote 1
          • clevername27C
            clevername27 @Christoph Hart
            last edited by

            @Christoph-Hart Thank you, and helps if we read the docs correctly. :)

            LindonL 1 Reply Last reply Reply Quote 0
            • LindonL
              Lindon @clevername27
              last edited by

              @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));
              

              HISE Development for hire.
              www.channelrobot.com

              1 Reply Last reply Reply Quote 1
              • First post
                Last post

              51

              Online

              1.7k

              Users

              11.7k

              Topics

              101.9k

              Posts