Get a list of all the controls

Home Forums General Using Ctrlr Get a list of all the controls

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31910
    artofnois
    Participant
      • Topics: 26
      • Replies: 40
      • Total: 66

      How can I get all the controls list to iterate and for example save their position in a file?

      #31984
      artofnois
      Participant
        • Topics: 26
        • Replies: 40
        • Total: 66

        Pleaste Athom, can you help me?

        #31986
        atom
        Keymaster
          • Topics: 159
          • Replies: 2945
          • Total: 3104
          • ★★★★★

          In Lua ?

          You can iterate over all modulators using the panel variable/class:

          
          console ("mods: "..panel:getNumModulators())
          
          	for i=0, panel:getNumModulators()-1 do
          
          		mod = panel:getModulatorByIndex(i)
          
          		if mod ~= nil then
          			console (string.format ("modulator at index %d with name %s: ", i, L(mod:getName())))
          		end
          	end
          #31991
          artofnois
          Participant
            • Topics: 26
            • Replies: 40
            • Total: 66

            thanks

          Viewing 4 posts - 1 through 4 (of 4 total)
          • The forum ‘Using Ctrlr’ is closed to new topics and replies.
          There is currently 0 users and 63 guests online
          No users are currently active
          Forum Statistics
          Threads: 2,495, Posts: 17,374, Members: 77,605
          Most users ever online was 12 on January 22, 2019 3:47 pm
          Ctrlr