>> ones (notepad and command prompt). Wordpad, sticky note, has a 1-2 >> second delay before the ` appears but seems to work. > > Does the debug output show a looping behavior during this 1-2 seconds.
Yes. >> Sending keys to notepad works perfectly. If I disable hotkeys typing ` >> is also fine. > > But if you don't disable hot keys, does it work? It is supposed to. > > In particular, with ` still enabled as a hot key, assign > keys ` > to (say) ctrl-alt-q > then what happens if you open notepad and tyhe > abc<ctrl-alt-q>def > is the `properly inserted by the hot key? With the current .exe: If the command is: *Keys abc`123 *Keys `abc123 *Keys abc123` it types fine If the command is: *Keys ` then it has the delayed output. > Pls try the above before downloading new exe. > > The latest exe has two additions: > > 1. It now explicitly resets the foreground window to the current window. > This should be redundant (and is on xp 32 bit) but maybe it will help. > > 2. If you use Macro2 instead of Macro as the command, it uses > PostMessage(...WM_CHAR...) > to resend to `, This is not a reliable way to send keys in general, but it > may work here. I am not too helpful thought, as it requires a > AttachThreadInput to get the window with the focus, and that will likley fail > between a 32 bit and 64 bit app. The new .exe with Macro made wordpad and stickypad windows not have the delay...and notepad have a much shorter delay (2-7 seconds) Macro2 works perfectly everywhere, with all previous tests (including above)! :) All the debug loops are gone as well. I'll let you know if I find it not working somewhere else. David Troesch | Atlanta, GA | ICQ# 2333123 "The minute you settle for less than you deserve, you get even less than you settled for." Funstuff: Individuality: Always remember that you are unique. Just like everybody else. www.despair.com
