'Why isn't Autohotkey script executing after reboot/restart?

I have this hotkey script:

; F7 key by default, Fn+F7 does nothing
^#F21::
SendInput {Volume_Up}
return

I ran it yesterday and it seemed to work well. However, today I turned on my PC and it was being executed, but it wasn't responding to my inputs. I reloaded it, but same result: executing, but not responding to inputs.

How can I solve it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source