HISE Logo Forum
    • Categories
    • Register
    • Login

    How to read file contents using HISE?

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 60 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.
    • CatABCC
      CatABC
      last edited by

      I placed a file without any extension under

      C:\Users\username\AppData\Roaming\
      

      The file contains some letters and numbers. I want to use HISE to read this file and use the contents in HISE. How can I do this?

      //I am a new student at HISE._
      //Windows11 & MacOS Ventura 13.6.7_

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @CatABC
        last edited by

        @CatABC File and FileSystem APIs. You can load the file as a string to get its contents.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        CatABCC 1 Reply Last reply Reply Quote 0
        • CatABCC
          CatABC @d.healey
          last edited by CatABC

          @d-healey said in How to read file contents using HISE?:

          Ha! I got it. Thank you.

          FileSystem.getFolder(FileSystem.AppData).getChildFile("license");
          

          //I am a new student at HISE._
          //Windows11 & MacOS Ventura 13.6.7_

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

          11

          Online

          1.7k

          Users

          11.8k

          Topics

          102.7k

          Posts