bool Toggle=FALSE; main { if(event_active(BUTTON_7)) Toggle=!Toggle; if (Toggle) macro_run("sal1.gmk"); }