Sorry to bump a dead thread, but I had to register to this forum just to say thank you for this solution! I realize you have not posted anything more since this so you will probably never read my post, but if you do... Cheerz! I have cross-posted your script in a thread at the arcadecontrols forum, because I first ended up on that while googling, so I suspect that can happen to others too.