There's not a lot of AHK users around these days. Most everyone uses ISBoxer, with a few of us using HotKeyNet or Keyclone.

Nothing stands out as wrong with that code, but then I don't know how AutoHotkey works. If you want free and are comfortable with code, you might want to consider using HotKeyNet instead. There's a guide for it in my sig and several others listed in the Newbie's Guide. HotKeyNet uses Templates to implement FTL for changing the leader when the main dies.