Quote Originally Posted by 'alphaquam',index.php?page=Thread&postID=109905#po st109905
Quote Originally Posted by 'Otlecs',index.php?page=Thread&postID=109803#post1 09803


User-defined key broadcast on application focus change
I am pretty sure that this is against the WoW ToS.
I agree, sending a keystroke via the focus change event itself could likely be a violation of the ToS in many situations. However, sending a keystroke in response to another keystroke that changes focus should be fine. Therefore, by tightly coupling this functionality to the "define keystroke to switch to client" feature, I think we'd be in the clear.

If someone has a definitive answer on this, please let me know. Thanks for bringing it up, Otlecs, I will clarify in my original post.
That's what I have setup now. Using ControllerMate and a bit of ruby I've got a key that I press that changes which client is front (one key per client). If I hold the key down for more then 1/2 second, then a keypress is sent to the client.

On another note, I think I know what is going on with lost key presses. I was testing with a number of text editors and found I could get them in a state where they thought the CMD key was pressed even though it wasn't. It was easy to spot since I hit the S key and the Save dialog popped up. Changing to that client then press/release the CMD key and it started working again. How and why it happens, I havn't figured out yet.