HISE Logo Forum
    • Categories
    • Register
    • Login

    addToMacroControl

    Scheduled Pinned Locked Moved Scripting
    3 Posts 1 Posters 200 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.
    • ?
      A Former User
      last edited by A Former User

      Is this incompatible with Engine.setFrontEndMacros?

      None of the following work:

      //1 
      Slider_SamplerAGain.addToMacroControl(1);
      
      //2
      Slider_SamplerAGain.addToMacroControl("X Pos"); 
      
      //3
      Slider_SamplerAGain.set("macroControl", 1);
      
      //4 
      Slider_SamplerAGain.addToMacroControl(Engine.getMacroName(1));
      
      

      No compile errors, it just won't attach it to a macro. Tried other controls and other Macros too...

      Edit: Master Branch

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by A Former User

        Oh I just realized this is doing the opposite of what I want.

        I'm trying to batch assign GUI elements to a single macro, is that possible with scripting? Both addToMacroControl and set("macroControl") are making the GUI element control the macro, but I want it the other way around.

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by

          Bump - is there any way to "batch connect" multiple GUI elements to a single macro via scripting?

          addToMacroControl makes the GUI element the Master, but I need to do it the opposite way.

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

          48

          Online

          1.7k

          Users

          11.7k

          Topics

          101.8k

          Posts