pichu23: It should work for either layout. Scancodes are independent of the layout language. I've tried the script on three computers with input from two laptop keyboards (ISO), Poker II (ANSI) and Ducky Mini (ISO) and it's worked well for all. I also switch between en-US and sv-SE depending on situation which was the main reason for using scancodes. That it worked across multiple computers was a bonus. Not sure about other operating systems but this works for Win7.