HISE Logo Forum
    • Categories
    • Register
    • Login

    get all labels...

    Scheduled Pinned Locked Moved Scripting
    8 Posts 2 Posters 371 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.
    • ulrikU
      ulrik
      last edited by ulrik

      If I understand right, there is a way to collect all modules like "get all midi processors" or something, am I right?
      If so, is there a way to "get all labels, or all panels, or what ever, I mean gui stuff?
      I could really be helped if there is 'cause I've got labels and panels all over the place :)

      What I would like to do is to collect, let's say, all labels in an array, and then easily set different attributes for all of them at once.

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

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

        @ulrik There isn't a way to get controls without knowing their id. So you can't get all labels or all panels. But if all your panels are called something like panel1, panel2, panel3, etc. You could get them all in a loop.

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

        ulrikU 1 Reply Last reply Reply Quote 1
        • ulrikU
          ulrik @d.healey
          last edited by

          @d-healey Ahh, ok, yes I have to collect them manually, the thing is that I named most of them to names that was related to the task, it would have been easier if I had left them with their automated names, thanks any way.

          Hise Develop branch
          MacOs 15.3.1, Xcode 16.2
          http://musikboden.se

          1 Reply Last reply Reply Quote 0
          • ulrikU
            ulrik
            last edited by

            Well searching for the type of, "label" in the Component List, I'll get them all, that will help. :)
            Skärmavbild 2019-09-10 kl. 13.48.20.png

            Hise Develop branch
            MacOs 15.3.1, Xcode 16.2
            http://musikboden.se

            ulrikU 1 Reply Last reply Reply Quote 0
            • ulrikU
              ulrik @ulrik
              last edited by

              @ulrik hm...searching for "label" shows labels and images

              Hise Develop branch
              MacOs 15.3.1, Xcode 16.2
              http://musikboden.se

              ulrikU 1 Reply Last reply Reply Quote 0
              • ulrikU
                ulrik @ulrik
                last edited by

                @ulrik and not all labels...

                Hise Develop branch
                MacOs 15.3.1, Xcode 16.2
                http://musikboden.se

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

                  The search only shows components with "label" in the ID and their children. It searches by ID not type.

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

                  ulrikU 1 Reply Last reply Reply Quote 1
                  • ulrikU
                    ulrik @d.healey
                    last edited by

                    @d-healey Ok, now I understand, it showed images as well because they were children of a panel with "label" in it's name.

                    Hise Develop branch
                    MacOs 15.3.1, Xcode 16.2
                    http://musikboden.se

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

                    18

                    Online

                    1.7k

                    Users

                    11.8k

                    Topics

                    102.6k

                    Posts