Forum

    • Register
    • Login
    • Search
    • Categories

    addToMacroControl

    Scripting Forum
    1
    3
    79
    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.
    • iamlamprey
      iamlamprey last edited by iamlamprey

      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

      Music - Instruments

      1 Reply Last reply Reply Quote 0
      • iamlamprey
        iamlamprey last edited by iamlamprey

        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.

        Music - Instruments

        1 Reply Last reply Reply Quote 0
        • iamlamprey
          iamlamprey 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.

          Music - Instruments

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

          3
          Online

          977
          Users

          6.6k
          Topics

          60.6k
          Posts