Hi Verathis,
sorry to reply this late, but I am moving right now and had no internet access during the last days.
You can check the source code in the .ahk file, which is one of the attached downloads to my original reply. Just open that file in an editor and you have the source code...
I have to admit, I didn't comment the code, which is really bad programming practice, but it was just a shorty :-)
Greetings,
Marc