HISE Logo Forum
    • Categories
    • Register
    • Login

    Pop Up Preset Browser From Button (Still Cant Figure It Out)

    Scheduled Pinned Locked Moved General Questions
    21 Posts 3 Posters 1.4k 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.
    • SteveRiggsS
      SteveRiggs @Dan Korneff
      last edited by

      @dustbro

      Works perfectly mate. Thanks again!

      I just worked out that if you change the names of the button or floating tile in the widget list after the script variable definition and custom callback definition have been added into the script editor, then to change them in every part of the code as well so it still works.

      Changing the names first before I add them into the code is probably a good practice to get into the habit of, to save the extra typing.

      Getting the hang of it now 😂

      www.anarchyaudioworx.com

      www.facebook.com/groups/audioworx/

      Dan KorneffD 1 Reply Last reply Reply Quote 1
      • Dan KorneffD
        Dan Korneff @SteveRiggs
        last edited by

        @SteveRiggs EXCELLENT!!

        Dan Korneff - Producer / Mixer / Audio Nerd

        SteveRiggsS 1 Reply Last reply Reply Quote 1
        • SteveRiggsS
          SteveRiggs @Dan Korneff
          last edited by

          @dustbro Thanks again for the help. Is there something I need to add into the script editor after the code for the pop up menu, because if I add any other components into the project now it stops the pop up menu from working. Am I missing a setting somewhere that stops this from happening?

          www.anarchyaudioworx.com

          www.facebook.com/groups/audioworx/

          Dan KorneffD 1 Reply Last reply Reply Quote 0
          • Dan KorneffD
            Dan Korneff @SteveRiggs
            last edited by

            @SteveRiggs There are a couple basic things that could cause an issue.
            #1 - make sure the name of your Component exactly matches the name in your script.

            #2 - the Component List shows the order of your GUI from bottom to top. Is your panel underneath another component? Is it nested within another component?
            component list.png

            Can you post a snip of your script? sometimes it's easier to take a peek at the code.
            export snip.png

            Dan Korneff - Producer / Mixer / Audio Nerd

            SteveRiggsS 1 Reply Last reply Reply Quote 1
            • SteveRiggsS
              SteveRiggs @Dan Korneff
              last edited by

              @dustbro I think the names are all ok. They should match. I was trying to add new components at the bottom of the list. I also tried adding them higher up to check, but it still happened. I'll add a snippet below if you want to take a look.

              HiseSnippet 4476.3oc6b0Dbabbkd.oGKQJSa4extUsUsa0QUkXvDZB.R8Cs05P.PBHBKPBXLfRQwGrGNnAvXMX5wyOjB1VY8V6EeHo1bYchSpTQ4PtmiIGRBSkbaygsJW0dZO3SYurG7w8l2W287SOC.nFPSQyjUrrk3z+98d8W+5W28qUSahF1wgXKkYt1CsvRYdJYkglt82nuptoTsMkx7OHWV2vXH50vpluKZs7q4+aaCE.UPp7PKUGGbGoLYl8Fz5jYtmPh8ymsdYUCUSMbTRRR2hnqgqqOP2MJ0lEuIzCUU6faqOPnzWtXMMh4FDChGfuYkyKYopcW0d3cToEaFYoLOYkN5tDaEWUWriTlmnLoyPk9jCL4k+V5N56YfoeTPRAZHdxUIFcnHllpzF80M5zLPO3HIkQtYjVYVtV4Ej2VuidX5QZmKxx.EUCQ8QlYNJ3UPDd4SO7xH.umfCumUVQyV2xMJGJ1tfbMSWrcWUXHPDV7xJMyOXV4MHPILcWdf5cwUsgOBqQ1qt5UVBc0qlewquv7KLetbJtXKTgkPaXiAoAwaDzsTs0UAY.sItqtotqNwDksJwFU1y0kXtLpopiKtCpL1fbvhKLOLf53h1W0FTYXGrqCubnWEE.kdX2MHCrHlvGYuTrRcoXXY0Pr3vwx9AXoi.V5BXoqAQ0U2rGxUGxU0rCxhip8l.pJaSNvAa+PPkeo7QUHtVIDWZdNtjAHMUCi8.la.tvg.auwnjX3SsCv.PF5lXGzKp28EQtDz8QdNLgv1iKDcUMbv.pM7fRMhbBhktIsEPc8L0XJChYL0IU1rIFY0BDrk3MFTy2ag4mSuKJav2H3m2i+WzehI+K6.L5f1hBtEuNqf2mWdL.xonAXBUTKbeltMUbikcn4xZkM703YGuDSGvDTJ6PbwMLyt37u27yM+8GImtcGWV9MkA1db4RMjYeDUKqo2f8v1AJb+xAymiavPdxFLDsmowUOBEjXVCHZMrvlSxLhjuNELn7U7AETTWl4jE7MmTWElfHo2gZfYScfKayjh1364Jw.Nc4hMqoztQq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7FxWkUdg7WswIy2mblah4e4QQ3dd1nZ3vGc78L9BcbDGxs9xDwsHdzq4M3NNjg8vpP7r0vhWGxLz8Vw+NevFVTvlcXe74vO9YVH3tSnYVHHSoQsCdgfWan+4HG6E.F6TjidThBS.uM1cL2WjMN9sgACGDG2joc5aP7uU3oUh9x+xZOkGwmKXkO1txp7N9+anUziKRTM.Xg+.KBuEtxprNMZ7ilPzRiR6TjlvJwuCTyNqlLgKKFuDmXbfyDJyQdaMoWid3G8Q+40iqQ+vOY50nmfypNs0nO+3znwi7HwfTHt5b1DpyhezG8e96hqN+ru2zqN4IbkjM5UiBhveNqQuVxprVxDd4Ql4DNx+G9CKxZjBAX8S+uy9uwSYDvVXDzV3uNlOcz6FkeAuHPprcOyelDrqKGQcM8ulWXQKno.Yy+24tzNKNvM4LyXj7X8BBiyYjOcP4.UMaxapwOBZJVOOKE.kl9QF51zuQEh92ip7znKU+M0znaI8kJHIM9ZrxTWiUm5Zb4otFWYpqwUm5ZbsotFqcD0fFFEk7fMQwcECRnYENQJS39s.y6+ePtgbfD
              

              www.anarchyaudioworx.com

              www.facebook.com/groups/audioworx/

              Dan KorneffD 1 Reply Last reply Reply Quote 0
              • Dan KorneffD
                Dan Korneff @SteveRiggs
                last edited by

                @SteveRiggs It's working fine here.
                Make sure the Interface Designer is set to Presentation Mode (the lock icon) so you can preview it's functionality.

                lock.png

                Dan Korneff - Producer / Mixer / Audio Nerd

                SteveRiggsS 1 Reply Last reply Reply Quote 0
                • SteveRiggsS
                  SteveRiggs @Dan Korneff
                  last edited by SteveRiggs

                  @dustbro Thats weird. It's still playing up here. It works at first but as soon as I add new components it stops the pop up menu from working. I did a short video below. Any idea what I'm doing wrong?

                  www.anarchyaudioworx.com

                  www.facebook.com/groups/audioworx/

                  orangeO 1 Reply Last reply Reply Quote 0
                  • orangeO
                    orange @SteveRiggs
                    last edited by

                    @SteveRiggs Because the latest floating tile that you add is under the Knob1, you need to drag out this floating tile to up or downward of the Knob1. Just see the 0:34 in the video, FloatingTile is under the Knob1 ;)

                    develop Branch / XCode 13.1
                    macOS Monterey / M1 Max

                    SteveRiggsS 1 Reply Last reply Reply Quote 1
                    • SteveRiggsS
                      SteveRiggs
                      last edited by

                      I think I may have worked it out. You need to 'deselect current item' before adding a new component so it doesn't link the components together in the list. If it links them the pop up menu code seems to stop working. Weird. I'll try adding a few more things and see if it carries on....

                      www.anarchyaudioworx.com

                      www.facebook.com/groups/audioworx/

                      1 Reply Last reply Reply Quote 0
                      • SteveRiggsS
                        SteveRiggs @orange
                        last edited by

                        @orange You're right. I didn't realize that you had to deselect the current item first 😂

                        www.anarchyaudioworx.com

                        www.facebook.com/groups/audioworx/

                        1 Reply Last reply Reply Quote 0
                        • SteveRiggsS
                          SteveRiggs
                          last edited by

                          @dustbro @orange Hmm, actually, it's still being weird. If I add items without them linked now, but then delete them again afterwards, that also stops the pop up menu working now too

                          www.anarchyaudioworx.com

                          www.facebook.com/groups/audioworx/

                          orangeO 1 Reply Last reply Reply Quote 0
                          • orangeO
                            orange @SteveRiggs
                            last edited by

                            @SteveRiggs You need to press compile button after the modifications like that. It will be fine ;)

                            develop Branch / XCode 13.1
                            macOS Monterey / M1 Max

                            SteveRiggsS 1 Reply Last reply Reply Quote 1
                            • SteveRiggsS
                              SteveRiggs @orange
                              last edited by

                              @orange Ah haaa! 😂 That works! Thanks mate. As if it was something so simple. Every day is a school day! 😌

                              www.anarchyaudioworx.com

                              www.facebook.com/groups/audioworx/

                              orangeO 1 Reply Last reply Reply Quote 0
                              • orangeO
                                orange @SteveRiggs
                                last edited by

                                @SteveRiggs Yeah of course, "The day a human stop learning is the day he dies." :)

                                develop Branch / XCode 13.1
                                macOS Monterey / M1 Max

                                SteveRiggsS 1 Reply Last reply Reply Quote 1
                                • SteveRiggsS
                                  SteveRiggs @orange
                                  last edited by

                                  This is true!!!

                                  @orange @dustbro Thanks for both helping me work this one out. It's been driving me nuts. Glad it's finally working now! 😃

                                  www.anarchyaudioworx.com

                                  www.facebook.com/groups/audioworx/

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

                                  46

                                  Online

                                  1.7k

                                  Users

                                  11.7k

                                  Topics

                                  101.8k

                                  Posts