Add StopAllMacros() helper

This commit is contained in:
WarmUpTill
2024-01-26 23:42:02 +01:00
committed by WarmUpTill
parent d237e3fe4e
commit 462c3445e3
3 changed files with 9 additions and 0 deletions

View File

@@ -1303,6 +1303,13 @@ bool RunMacros()
return true;
}
void StopAllMacros()
{
for (const auto &m : macros) {
m->Stop();
}
}
Macro *GetMacroByName(const char *name)
{
for (const auto &m : macros) {