Quote Originally Posted by PhnxGold
I also noticed that you said the background_setfocus is old.......I didn't try the new way yet with the SendWinMF. I'll give it another try and let you know what I find.
I just changed that stuff again in build 51 which is now on the site. I tested it in DAOC on two different PC's and didn't notice any missed keystrokes. Definitions can be a little simpler now:

Code:
<HotKey F3> 
    <SendPC Local> 
        <SendWinMF Uber1> 
            3 
        <SendWinMF Uber2> 
            3
However, when you try this, you may find that keystrokes don't always reach the background window. Or, conversely, you may find that if you type keystrokes into the foreground window while a macro executes in the background, your typed keystrokes go to both windows by mistake. If these things happen, you need to adjust the length of an internal delay with a new command, SetFocusDelay.

For example, if you need to make the delay longer, you would add a line to the definition like this:

Code:
<HotKey F3> 
    <SendPC Local>
        <SetFocusDelay 0 50>
        <SendWinMF Uber1> 
            3 
        <SendWinMF Uber2> 
            3