HISE Logo Forum
    • Categories
    • Register
    • Login

    Link in vst

    Scheduled Pinned Locked Moved General Questions
    50 Posts 4 Posters 1.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.
    • NatanN
      Natan @yall
      last edited by

      @yall +1 On This Idea Mate 👏

      1 Reply Last reply Reply Quote 0
      • Y
        yall
        last edited by

        I searched for hours in the script of the preset brower looking for link ^^ nothing. so I thought to myself. why not simply modify the text of the "more" button and the text of the "open preset folder" option. I didn t succeed .. I think it would be the easiest. but the script is too complicated for me ^^

        1 Reply Last reply Reply Quote 0
        • Casey KolbC
          Casey Kolb
          last edited by

          Yeah totally. This is really easy and I already posted on this topic here.

          It's literally just:

          FileSystem.getFolder(FileSystem.AppData).show();
          

          Put that in a button callback.

          Casey Kolb
          Founder & CEO of Lunacy Audio
          Composer | Producer | Software Developer

          Y 1 Reply Last reply Reply Quote 1
          • Y
            yall @Casey Kolb
            last edited by

            @Lunacy-Audio you are a genius .. it seemed so simple ^^. suddenly it will redirect for mac and windows? I suppose so

            1 Reply Last reply Reply Quote 0
            • Casey KolbC
              Casey Kolb
              last edited by

              Yup, should work on all operating systems.

              Casey Kolb
              Founder & CEO of Lunacy Audio
              Composer | Producer | Software Developer

              Y 2 Replies Last reply Reply Quote 0
              • Y
                yall @Casey Kolb
                last edited by

                @Lunacy-Audio thanks u :)

                1 Reply Last reply Reply Quote 1
                • Y
                  yall @Casey Kolb
                  last edited by

                  @Lunacy-Audio I just tried it is great. suddenly that references well in the file. is it possible to go directly to the expansion folder?

                  1 Reply Last reply Reply Quote 0
                  • Casey KolbC
                    Casey Kolb
                    last edited by Casey Kolb

                    All of the documentation for the FileSystem API is here so you can see what special locations are available via scripting.

                    However, since the Expansions isn't in the special locations yet, you'll need to do something like this:

                    FileSystem.getFolder(FileSystem.AppData).getChildFile("Expansions").show();
                    

                    Casey Kolb
                    Founder & CEO of Lunacy Audio
                    Composer | Producer | Software Developer

                    Y 1 Reply Last reply Reply Quote 0
                    • Y
                      yall @Casey Kolb
                      last edited by

                      @Lunacy-Audio thank you very much for these answers

                      1 Reply Last reply Reply Quote 0
                      • Casey KolbC
                        Casey Kolb
                        last edited by

                        Sure thing!

                        Casey Kolb
                        Founder & CEO of Lunacy Audio
                        Composer | Producer | Software Developer

                        1 Reply Last reply Reply Quote 0
                        • Y
                          yall
                          last edited by

                          this function is interesting but does not open the file, it shows it. I can't get the expansions folder to be opened. an idea?

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

                            @yall

                            HiseSnippet 804.3ocsU0saSCCE1tqAQCzIlDO.Q6pToQUJrMPhKXq+gpftUQFSb2jmi6p0RriRbFqZZ75vKEOD7F.GmjtjNxl1pD4Je94y46b72wdRjjxhikQHbiilGxP3ma3NWnl0aFgKPi5ivqaLlDqXQVYt5NOjDGy7PX7ZeT6.2nNJ862enKwmHnrBWHzwRNk8Yd.WU3cxdeh66Oj3wNhGTJ6s2aDUJ5I8kI.eVyvAERnmSNic.QmVMCD9IC73JYjqhnXwPNckdycmI+tHK+i4w7S8YZiNHWXixbi5Mi66MYQsFiP35SJp70xp7WZLl6wuweQG3EoArJPTtGfqsLkpuDk5bWTZnz2SuA2A8vknW8L5sggKMhGpJhn41yLFIfCmoDnsWlVY4hp8SrQOIjgP0NfbNaXDXbCB6ccb1xZGGmVuuoYSStvmKXVSSDTEWJrjhtIJkTzQuCQReapLHTJf8ZKqKH9IrVMMupoYC9TK6E1Mrfugbel6bPzDz9LlJsTirK4b+vv9DEokNZZsqiYu4fKCIhX3OGuYq1wPKzVyqqS41hhPiXAKr2Lme5z09SYYOhu+oftw91zWuYkpsCjJ1gB6VlWY1v7ZSqaGZ5zJikuY9PEUUXshN59.ZKRBNkEsnCtHQ3XdYczSdX5HZVeoThRwHAWcXHK2tPo0oBkFJuwBq95H8ghV7k6CxKjEo3Z5f6yt.ljyjhML5yhOWICSyM+z.nrJM554B0rtOh6oAjeTftDgMv+B9ay0K9ArfGOVF.3IQfKbsXxErQhIQL3DUKjQ+6j.LOJ8R7IpkGR02FkG.53KMMnU7fxRMu7sUOhIWmJmbqre9.o6FFS3J5rp4asJ3Kbt7+lu42C1zXvzoLppfr0MF9sU8RuGAU9hLQwEmMlnh3ZcxAIAtvSATFvDgf4GqkL0zZ1LaGssty3xDdoF+A9xC1QaiyC1YQPT.gFIOglMKpuo8ood.NIRejoA7ZGXa0AkNeB3LbZ6fBfG.NgR0shWAbuZLudEv7lU.y1q.lcVAL6tBXd6Jf4c2KF8au6mnjAYiIfiICRunBiGHHfJKUQh9K.uveF7
                            

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

                            1 Reply Last reply Reply Quote 0
                            • Y
                              yall
                              last edited by

                              @d-healey yes this is what I am using but it does not open folder extensions. you still have to click on it. j trying to figure out how to do it, but impossible.
                              you will tell me that it is not much use but I prefer that the user is not click on the folder to drag expansions (I am not using the installation system). because the users are often not gifted (like me ^^)

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

                                @yall Works for me

                                Peek 2021-05-19 12-52.gif

                                Why not use the expansion installer? Then the user just clicks one button and selects the file.

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

                                Y 1 Reply Last reply Reply Quote 0
                                • Y
                                  yall @d.healey
                                  last edited by

                                  @d-healey because I can not implement it. I only want to have one expansion. and simply provide a .hxi file and the sample folder. from time to time I could like that to send some presets for free. yes me too that opens the folder where the extension folder is located. but the extension folder is not open. that's what I'm trying to tell you ^^

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

                                    Here's a complete implementation (without progress bar). Put it inside a button callback (button should be momentary with saveInPreset disabled).

                                        reg file;
                                    
                                        inline function install()
                                        {        
                                            Engine.showYesNoWindow("Select .hr1", "Please select the .hr1 file", function(x)
                                            {            
                                                if (x)
                                                {
                                                    FileSystem.browse("", false, "*.hr1", function(f)
                                                    {
                                                        file = f;
                                    
                                                        Engine.showYesNoWindow("Samples Folder", "Please select the folder to install the samples", function(x)
                                                        {
                                                            if (x)
                                                            {
                                                                FileSystem.browseForDirectory("", function(dir)
                                                                {
                                                                    if (dir.isDirectory())
                                                                    {
                                                                        expHandler.installExpansionFromPackage(file, dir);
                                                                    }
                                                                });
                                                            }
                                                        });
                                                    });
                                                }
                                            });
                                        }
                                    

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

                                    Y 1 Reply Last reply Reply Quote 0
                                    • Y
                                      yall @d.healey
                                      last edited by

                                      @d-healey Thank you. will the .hxi file be integrated into the hr1? if so, it is even better. because creating an installer and then manually dragging the .hxi file was the same as my operation. I'm going to try :)

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

                                        @yall There is a guide here (it's slightly out of date) - https://docs.hise.audio/working-with-hise/project-management/expansions/encrypted_expansion.html#implementation-/-steps-to-do

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

                                        Y 1 Reply Last reply Reply Quote 0
                                        • Y
                                          yall @d.healey
                                          last edited by

                                          @d-healey yes on this subject I master. I have already created several extensions. I just tried in a button callback nothing happens :(

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

                                            @yall Post a snippet

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

                                            Y 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            30

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.3k

                                            Posts