HISE Logo Forum
    • Categories
    • Register
    • Login

    Write User Name on Plugins Registration/Authorization

    Scheduled Pinned Locked Moved General Questions
    59 Posts 8 Posters 2.9k 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.
    • d.healeyD
      d.healey @DabDab
      last edited by

      @DabDab said in Write User Name on Plugins Registration/Authorization:

      I tried.. Filesystem very confusing to me

      Did you find some examples on the forum to use as a starting point?

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

      DabDabD 1 Reply Last reply Reply Quote 0
      • DabDabD
        DabDab @d.healey
        last edited by DabDab

        @d-healey I am bit confused with FileSystem function and FILE function that you and @Christoph-Hart advised me to do. Actually in Doc there is no proper Example. as a beginner an Example is very essential.

        Bollywood Music Producer and Trance Producer.

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

          @DabDab said in Write User Name on Plugins Registration/Authorization:

          Actually in Doc there is no proper Example. as a beginner an Example is very essential.

          Did you find some examples on the forum to use as a starting point?

          dde15518-f0f3-4580-b724-f07235454fe4-image.png

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

          DabDabD 1 Reply Last reply Reply Quote 0
          • DabDabD
            DabDab @d.healey
            last edited by

            @d-healey No Sir, I got your point. But unfortunately i am struggling how to declare File and Filesystem together.

            Bollywood Music Producer and Trance Producer.

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

              @DabDab

              No Sir,

              So you didn't search for examples on the forum?

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

              DabDabD 1 Reply Last reply Reply Quote 0
              • DabDabD
                DabDab @d.healey
                last edited by

                @d-healey I searched found this....https://forum.hise.audio/topic/3260/filesystem-api-possible-to-save-a-file-to-a-child-directory/2

                Bollywood Music Producer and Trance Producer.

                1 Reply Last reply Reply Quote 0
                • DabDabD
                  DabDab
                  last edited by

                  @d-healey Can you please cover this topic in Your Youtube Tutorials? This will help us the most. File and FileSystem very confusing. And Doc is very very brief to understand.

                  Bollywood Music Producer and Trance Producer.

                  d.healeyD 2 Replies Last reply Reply Quote 1
                  • d.healeyD
                    d.healey @DabDab
                    last edited by d.healey

                    @DabDab

                    Can you please cover this topic in Your Youtube Tutorials?

                    Yes, it's a very good idea actually. I might do this for next month's Patreon video.

                    If you keep searching you'll find this - https://forum.hise.audio/topic/2807/new-api-server-and-filesystem

                    This post also contains some good info - https://forum.hise.audio/topic/3355/loadencryptedobject-cant-manage-to-un-encrypt-file-data/3

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

                    DabDabD 1 Reply Last reply Reply Quote 0
                    • DabDabD
                      DabDab @d.healey
                      last edited by

                      @d-healey Why Patreon Sir? It will be good if you share your knowledge for non patreon users like me.

                      Bollywood Music Producer and Trance Producer.

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

                        @DabDab

                        Why Patreon Sir

                        That's what my Patrons pay me to do. It wouldn't be fair to them to take their money and not give them what I've said I'd give them in return. Also I have to eat.

                        Like most of my other videos it will first be published on Patreon and some time later go public on YouTube and Odysee.

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

                        DabDabD 1 Reply Last reply Reply Quote 3
                        • DabDabD
                          DabDab
                          last edited by

                          @d-healey to be honest we are ( musicians) very much suffering after the covid crisis. My arranging, music productions all are suffering. That's why i came to plugins development field. I hope you got my point.

                          Bollywood Music Producer and Trance Producer.

                          1 Reply Last reply Reply Quote 0
                          • DabDabD
                            DabDab @d.healey
                            last edited by

                            @d-healey

                            Also I have to eat.

                            Sure.. One day i will definitely pay your fees.

                            Like most of my other videos it will first be published on Patreon and some time later go public on YouTube

                            That's a big relief to me.

                            Bollywood Music Producer and Trance Producer.

                            1 Reply Last reply Reply Quote 1
                            • DabDabD
                              DabDab
                              last edited by

                              @d-healey You are the only person who is trying to share your knowledge and skills amongst us through your Videos. Salute man :)

                              Bollywood Music Producer and Trance Producer.

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

                                @DabDab said in Write User Name on Plugins Registration/Authorization:

                                @d-healey You are the only person who is trying to share your knowledge and skills amongst us through your Videos. Salute man :)

                                I think I'm the only one making videos, but I'm definitely not the only one sharing knowledge.

                                I've posted a working example to the other thread as I think that thread is more likely to come in search results when people are looking for the same thing.

                                Link Preview Image
                                Saving Text

                                Here is a working example with comments. HiseSnippet 1160.3ocsV0saaaCElxIJnxasXAXWOP3qjAxbc5Z6FPvvRicRgQyOFSYY6tBZIpXhPQJHRGGih7vr2h8Xs2ftyQh1VowKM0Xy.IPm++3...

                                favicon

                                Forum (forum.hise.audio)

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

                                1 Reply Last reply Reply Quote 0
                                • JayJ
                                  Jay
                                  last edited by

                                  I will show you how I did it as soon as I get home.

                                  It will be like around 6pm

                                  Joansi Villalona

                                  d.healeyD DabDabD 2 Replies Last reply Reply Quote 0
                                  • d.healeyD
                                    d.healey @Jay
                                    last edited by

                                    @Jay said in Write User Name on Plugins Registration/Authorization:

                                    It will be like around 6pm

                                    What time zone? For me you sent that message at 7pm :p

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

                                    1 Reply Last reply Reply Quote 0
                                    • DabDabD
                                      DabDab @Jay
                                      last edited by DabDab

                                      @Jay Thank you. :) I am waiting .

                                      Bollywood Music Producer and Trance Producer.

                                      1 Reply Last reply Reply Quote 0
                                      • DabDabD
                                        DabDab
                                        last edited by

                                        Hi, @Christoph-Hart @d-healey @Jay Tried a Simple Authorization System with FileSystem and FILE API but not working. What am i missing?

                                        Content.makeFrontInterface(300, 200);
                                        const var mainGUI = Content.getComponent("mainGUI");
                                        const var authorise = Content.getComponent("authorise");
                                        const var submit = Content.getComponent("submit");
                                        const var uid = Content.getComponent("uid");
                                        
                                        const Desktop = FileSystem.getFolder(FileSystem.Desktop); 
                                        uid.set("text" , "");
                                        if(value)
                                        {
                                        var f = Desktop.getChildFile("UID.txt");
                                        if (f.isFile)
                                            {
                                               uid.set("text",f.loadAsString());
                                               mainGUI.showControl(true); // GUI only be shown after successful UID validation
                                            }  
                                            
                                        }
                                        inline function onsubmitControl(component, value)
                                        {
                                            if(value)
                                            {
                                        	    local f = Desktop.getChildFile("UID.txt");
                                        	    f.writeString(uid.getValue()); 
                                        	    uid.set("text",""); 
                                        	   // authorise.showControl(false);
                                        	     mainGUI.showControl(true);
                                            }
                                            
                                            else
                                            {
                                               mainGUI.showControl(false);
                                               //authorise.showControl(true);
                                            }
                                        };
                                        
                                        Content.getComponent("submit").setControlCallback(onsubmitControl);
                                         /// Tried but Not working.... 
                                        
                                        HiseSnippet 1379.3ocsWssaabCDkqiYgkrUQCPeouQ3mjAbk2ckrkLLBhhuEHT6DkJG29TMn1kqEg2kTXWJaKDXf7oz26OQ9j5eP6v8hD0E6FXzrODGx4BOyYFNbT2XoGKIQFirJcw3gLj0F3diEpAGMfxEnNGir9I7o7PVuwJVD4MiTCjw7DphKEnCGOjljv7QVVu3sZ0sJsJJ86ue8gzPpviMcKD5RI2icFOhqlta21+BOL7TpO6Bdjg1MZ2wSJNRFJGAP6EXazPp2MzqYuipUaELx56Nwmqjw8TTEKAYs5gR+w8FHuSjo+k7Dd+PldgCpG3nrsOUF5qQrdWzQC3g9cKnfDD3ktSIjWjQH+H9btOex9SIleHU.YpEl7g0JOE7bLgm8WO7rLf2pYv6k3ddw7gpoRzXacbGghEGPgTfIrxzEsxesJ9HIngPUKhdC6zXXwDKpV21dahqs8VGToLjFR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ZNKcUB633zpQKHVWbbNXnRo+nPpZ1IM0iWmKX9Iu0isIR3pwlie+MY7yuV39RbWtxavxw6JKAuPixu03MeX9J3SBBXdpofcU7o+929I2Q+pbjBdo8bJL7BT2he2nndP4fGCPh.5xneVyZE8CPYqs0q0LSOlvOcw+.e4BczqsxE5THDEQgFdW4k8rk9mKrV5N.lDo+poR3y0qINEuXgw10rQQP+vq77zTwOCXe4139Lro9yvlFOCa18YXydOCaZ9Lro0SZi9oH32TKixtl.az8jzIGrrNI8spzJRz+FtW3bO
                                        

                                        Bollywood Music Producer and Trance Producer.

                                        Matt_SFM 1 Reply Last reply Reply Quote 0
                                        • Matt_SFM
                                          Matt_SF @DabDab
                                          last edited by Matt_SF

                                          @DabDab Take a look at Christoph's Hise tutorials projects :
                                          https://github.com/christophhart/hise_tutorial

                                          Develop branch
                                          Win10 & VS17 / Ventura & Xcode 14. 3

                                          DabDabD 1 Reply Last reply Reply Quote 0
                                          • DabDabD
                                            DabDab @Matt_SF
                                            last edited by DabDab

                                            @Matt_SF Sorry But where is Plugins Authorization Tutorials ? I mean where is new FileSytem and File API Authorization Tutorials ?

                                            Bollywood Music Producer and Trance Producer.

                                            d.healeyD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            16

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.5k

                                            Posts