Same issue with XBMCLauncher not applying focus for Win7 x64 here.
Wonder what is going on...
Update: Okay, doing some debugging, it seems that the variable "ExternalPlayerRunning" is getting set to "1" somehow...magically (I can't find an obvious reason why since I don't have this set up at all). This causes FocusCount to get set to 0 before ever reaching the necessary value to trigger a focus check.
I did verify that when I comment out the code in MonitorEvents for the "DisableFocusOnExternalPlayer" function, that the Focus Check occurs as expected without any issues.
I don't know enough about AutoHotKey scripts to quickly fix this, but I will keep digging a bit tonight to see if I can figure out what is going on.
Update 2: And it's fixed...I believe the failure to check for an empty string as part of the external player code was causing this; but I'm am totally not clear on why this matters all of a sudden since 3.5 had the same code for the External Player. I basically made a change to the External Player Focus Disable code to check for an empty string on the External Player path first before proceeding further.
In short, blah blah blah, it works. Script with my changes attached - works perfectly on my Win7 x64 machine. I also attached a compiled .exe but I don't know if it will work since I compiled on an x64 machine...so be warned you may want to take the script an compile it yourself if you are on anything but Win7 x64.
Script (right click and 'Save As'):
XBMCLauncher.ahk
EXE:
XBMCLauncher.exe