Function ====== Menu.InjectInput ====== Void Menu.InjectInput(String type, String id, String group, Int32 index) ^ API | http://api.avolites.com/10.1/Menu.InjectInput.html | ^ description | Inject an input to the menu system. Inputs are button hardware actions such as button presses and fader movements and pseudo actions such as fixture handle press or palette key press | ^ [[macros:namespace]] | [[macros:namespace:menu]] | ^ parameter | type ( [[macros:type:string|String]] ) : Type of the input. (OnButtonDown, OnButtonUp, etc) | ^ ::: | id ( [[macros:type:string|String]] ) : The id of the input. | ^ ::: | group ( [[macros:type:string|String]] ) : The panel group or region of the input. | ^ ::: | index ( [[macros:type:int32|Int32]] ) : The index of the input in that group. | ^ return value | ([[macros:type:void]]) | == Example in == [[macros:example:changecolorchaseold]]: Menu.InjectInput("OnButtonUp","NumericKeys.1","NoGroup",1) == Also used in == {{backlinks>.}} == Remarks == That's the function to feign any physical button presses. This shows up in all [[macros:recorded_vs._coded_macros|recorded macros]]. ~~DISCUSSION~~