LA restores trigger hooks every 10 s.
When triggers stop working, look in the Tasks panel, maybe task "Triggers and toolbar" isn't running. If was running but now not, maybe some script action killed it. For example code like script.end(); or Environment.Exit(0); or maybe some used library does it.
Also triggers don't work when the script process isn't admin (probably because LA process isn't admin) and the active window process is admin.
Another possible reason - Ctrl, Shift, Alt or Win key is in logically pressed state. For example a script pressed it and didn't release. To fix it, press all these keys.
Also there are other possible reasons why triggers could stop working. Some known, some not. Auto-restoring hooks then not possible without restarting the triggers script.
In any case, to restore triggers, run script "Triggers and toolbar" again. Or menu TT -> Restart TT script. You can use menu Tools -> Customize to create a toolbar button too.
To restart the script without opening the window, you can use this toolbar button.
Or mouse trigger.
Also in Properties of "Triggers and toolbars" select ifRunning restart.
When triggers stop working, look in the Tasks panel, maybe task "Triggers and toolbar" isn't running. If was running but now not, maybe some script action killed it. For example code like script.end(); or Environment.Exit(0); or maybe some used library does it.
Also triggers don't work when the script process isn't admin (probably because LA process isn't admin) and the active window process is admin.
Another possible reason - Ctrl, Shift, Alt or Win key is in logically pressed state. For example a script pressed it and didn't release. To fix it, press all these keys.
Also there are other possible reasons why triggers could stop working. Some known, some not. Auto-restoring hooks then not possible without restarting the triggers script.
In any case, to restore triggers, run script "Triggers and toolbar" again. Or menu TT -> Restart TT script. You can use menu Tools -> Customize to create a toolbar button too.
To restart the script without opening the window, you can use this toolbar button.
t["TT\a|Restart TT script"] = o => script.run(@"\@Triggers and toolbars\Triggers and toolbars.cs");Or mouse trigger.
Triggers.Mouse[TMEdge.RightInCenter50, "Ctrl+Shift+Alt"] = o => script.run(@"\@Triggers and toolbars\Triggers and toolbars.cs");Also in Properties of "Triggers and toolbars" select ifRunning restart.

Restoring hooks