This works(win10)but there is something weird about it(maybe some hidden feature I don't know about)
In the mouse settings I have the option enabled to show where the mouse is but that happens when you press Ctrl not the window key
Code: Select all
$LWin::
Keywait,Lwin,T0.5
If ErrorLevel = 1
{
Send,{LWin Down}
Keywait,Lwin
Send,{LWin Up}
}
Return
The code is waiting for you 0.5 seconds to release the key.
Waiting longer that 0.5 seconds will send the win key so you can do a key combination and the good part of this is that sending the win key like this will not bring the start menu,instead it will execute that weird mouse location function
$ infront of a hotkey is used to prevent the code to be executed again by sending the same key