HISE Logo Forum
    • Categories
    • Register
    • Login

    permanently displayed text

    Scheduled Pinned Locked Moved Scripting
    80 Posts 4 Posters 3.8k 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
      treynterrio @d.healey
      last edited by

      @d-healey its still the same issue when I hit compile nothing changes the console don't say Compile OK I can change in the script Name to Input or Input to Name its everything the same there must be something inside that must be changed but I don't know what

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

        @treynterrio said in permanently displayed text:

        console don't say Compile OK

        Sometimes it doesn't show but it will show above the Console

        79b36037-2d43-49ab-bfd9-343e30488e5d-image.png

        Are you using the same snippet you posted above to test?

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

        T 1 Reply Last reply Reply Quote 0
        • T
          treynterrio @d.healey
          last edited by

          @d-healey yes its the same

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

            @treynterrio Can you show me a video of it not working for you?

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

            T 1 Reply Last reply Reply Quote 0
            • T
              treynterrio @d.healey
              last edited by

              @d-healey It works now in the snippet, but it doesn't work in my project. the file is created but the file will not be loaded

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

                @treynterrio What is the difference between the snippet and your project?

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

                T 1 Reply Last reply Reply Quote 0
                • T
                  treynterrio @d.healey
                  last edited by

                  @d-healey that my project is a complete plugin

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

                    @treynterrio said in permanently displayed text:

                    that my project is a complete plugin

                    There is no difference in the code?

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

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      treynterrio @d.healey
                      last edited by

                      @d-healey the difference is that the button that sets the text to the label has more than 1 function in my project. my complete project script has 1400 lines

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

                        @treynterrio You need to identify the thing in the snippet that works but doesn't work in your project.

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

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          treynterrio @d.healey
                          last edited by

                          @d-healey it creates the file that works but It doesn't load. so it must be this part that doesn't work

                          const var d = Engine.loadFromJSON("Name.json");
                          
                          if (isDefined(d) && isDefined(d.name))
                          {
                              Input.set("text", d.name);
                          }
                          
                          d.healeyD 1 Reply Last reply Reply Quote 0
                          • d.healeyD
                            d.healey @treynterrio
                            last edited by

                            @treynterrio Does it work in your project within HISE but not in the compiled plugin, or does it not work in either?

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

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              treynterrio @d.healey
                              last edited by

                              @d-healey both doesn't work

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

                                @treynterrio

                                So to confirm, in your project's user presets folder you see a file called Name.json?

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

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  treynterrio @d.healey
                                  last edited by

                                  @d-healey yes it will be created when I press the button. Its there until I close the plugin and reload it then its gone

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

                                    @treynterrio said in permanently displayed text:

                                    Its there until I close the plugin and reload it then its gone

                                    Do you have some code that deletes the file? When you say close the plugin, are you talking about the HISE project or the compiled version? For now it's best if we just focus on the HISE project.

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

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      treynterrio @d.healey
                                      last edited by

                                      @d-healey no there is nothing that could or would delete the file. I've that simple protection on the Button at the moment as well. its this code and after that the code for the simple protection and then comes nothing. I had this create .json file above the serial code part and this part

                                      const var d = Engine.loadFromJSON("Name.json");
                                      
                                      if (isDefined(d) && isDefined(d.name))
                                      {
                                          Input.set("text", d.name);
                                      }
                                      

                                      straight under it and at the bottom of the script. but nothing works. the only thing that works here is that is says Compiled Ok in the console

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

                                        @treynterrio

                                        I think you're going to need to share the project folder (without the samples, binaries, and pooled resources sub folders).

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

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          treynterrio @d.healey
                                          last edited by treynterrio

                                          @d-healey try this I think the error lies in this part of the code. I don't know but maybe you'll need the serial.js file then you should create an empty one

                                          HiseSnippet 2295.3ocsYs0baabEFTxqiDiThSlNSeEgOjAdpMKAk3EaOMg5lSYrtvJx3oSloIADXI4VAtfCvBZw3QSyzeI8mh+ozW6a4ef6YwBPr3FEkhCdfCwhyd1y46bNe3rX645Xh87bbUJs8fEyvJk1A0eAkM4nIFDpR2iUJsK5fuave8hK698mn1P4vEyL77vVJkJs42vEoz1OPI35W+5CMrMnl33gTTdsCwDeJYJgEOZuNuhXa+RCK7.xTIo2uSWSG5QN1N9f4rIplxLCyqLFiO2fK1FHkRO7DKBywsOyfg8TJ8fCcrVzehyanB4eMwiLzFyuQWoOnHwvuzw1haw7QUNZBw1pWja6o.ZoWLHro.D9CnyHVjkiGCFOJ3ApwyP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AaLL+ZWzIiFgMYwF3CPu7u+6yIlpHN1wwmYvbIPMH5b+o8gJYSLr5Tf5j+AAJsAOETbeM98bDnOlZEby6gqvGpyuuT3C0idnxTCSWmezTjzwOl1sBFArIZvITuM5L98p5QYYHTsp0TlBUY+noI28eJrWs7mS86wb16dLm8uGyow8XNMuGyo08XNsW4b3Db.moyTQ4.LPuSB9dMkJcBky8FjEp7+wpxmMK
                                          
                                          d.healeyD 1 Reply Last reply Reply Quote 0
                                          • d.healeyD
                                            d.healey @treynterrio
                                            last edited by

                                            @treynterrio Your submit button is momentary. That means the callback is triggered both when you press the button and when you release it.

                                            So everything in your callback above this check is being done twice.

                                                    if(!value)
                                                        return;
                                            

                                            This check almost certainly wants to be at the top of the callback. Although I don't think this is the cause of the particular issue we've been discussing.

                                            Also it looks like you're embedding a list of valid serial numbers in your project, is this correct? The script is not encrypted when compiled as a plugin so anyone with a little know-how will be able to see all of these serials.

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

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

                                            23

                                            Online

                                            1.8k

                                            Users

                                            11.9k

                                            Topics

                                            104.0k

                                            Posts