HISE Logo Forum
    • Categories
    • Register
    • Login

    Display something if file is present?

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 220 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.
    • T
      tomekslesicki
      last edited by

      Ok, I'm on a question roll! Is it possible to display an interface object if the file is present in the AppData folder or the equivalent on Mac? I'm thinking of an expansion that you'd install and if it's installed, some additional options on the interface would show.

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

        @tomekslesicki said in Display something if file is present?:

        Ok, I'm on a question roll! Is it possible to display an interface object if the file is present in the AppData folder or the equivalent on Mac? I'm thinking of an expansion that you'd install and if it's installed, some additional options on the interface would show.

        var MapMetaData = Engine.loadFromJSON("VoiceMetaData.js");
        if (MapMetaData ==""){
            // do something here...
        };
        

        HISE Development for hire.
        www.channelrobot.com

        T 1 Reply Last reply Reply Quote 1
        • T
          tomekslesicki @Lindon
          last edited by

          @Lindon said in Display something if file is present?:

          @tomekslesicki said in Display something if file is present?:

          Ok, I'm on a question roll! Is it possible to display an interface object if the file is present in the AppData folder or the equivalent on Mac? I'm thinking of an expansion that you'd install and if it's installed, some additional options on the interface would show.

          var MapMetaData = Engine.loadFromJSON("VoiceMetaData.js");
          if (MapMetaData ==""){
              // do something here...
          };
          

          Awesome, thanks a lot!

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

          51

          Online

          1.7k

          Users

          11.7k

          Topics

          101.8k

          Posts