Re: Need help understanding script creating/editing
Posted: Wed Jul 31, 2019 11:50 am
Hey guys having a problem...trying to get my macro to run endlessly.
How do I make it so that if "button 9" is pressed once it will initiate the macro forever? So I don't have to keep hitting or holding the button.
I just used the example from the resources.
main {
// While BUTTON_2 is held-down ...
if(get_val(BUTTON_9)) {
// ... keep the macro "Example" running in an endless loop.
macro_run("wolf.gmk");
}
}
How do I make it so that if "button 9" is pressed once it will initiate the macro forever? So I don't have to keep hitting or holding the button.
I just used the example from the resources.
main {
// While BUTTON_2 is held-down ...
if(get_val(BUTTON_9)) {
// ... keep the macro "Example" running in an endless loop.
macro_run("wolf.gmk");
}
}