I modified a simple old AHK script and that basically turns a "." (dot) key pressed to a ":" (colon) as output.
The problem was I needed to map both keyboard dots (the numpad one and the one near the right Alt key). Well I somewhat guessed by trial how to modify the code and it works but I would like to understand why and how!
I feel AHK documentation has improved much in recent years, but I can't find a way to get to the bottom of this. Here's the code I wish you to explain (my troubles are primarily on understanding the last line and its connection with the previous ones):
SC034::
NumPadDot:::
:::NumPadDot::SC034
Please, provide links to AHK official documentation whenever possible, I'd very appreciate! Thank you