I use these two shortcuts to turn off the display:
Launch_Mail:: #T:: SendMessage, 0x112, 0xF170, 2,, Program Manager
However, not infrequently, the display turns back on instantly after I use this hotkey. I press it again four to seven times, and it turns back on again. Then, I adjust the mouse a bit and try turning off. Sometimes, it works and sometimes, it doesn't.
Also, if I use the 'Launch_Mail' button to turn off the display and it doesn't, I use the '#T' shortcut. Most of the time, this works, but there are also times when that doesn't work either.
Is the problem with the mouse or something else? Should I also disable the mouse at the time of turning off the display.
I tried searching for this problem, but I couldn't find anything that was similar to my situation.
I don't know if this is much relevant, but I use Windows 8.1 and AHK v1.1.22.06