> I'm almost positive I've had hotkeys work fine in the notepad window 
> before because it surprised me...but since we've started testing more 
> thoroughly I haven't yet had a time where it was working properly.

AFAIK, its back to where it was except with debug info.

The issue appears to be the interaction between PowerPro as a 32 bit program 
and all the layers of Windows software that get involved when you put keys into 
the keyboard buffer for other apps to read, esp 64 bit apps.


>
> 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.


> 
> Also noticed if I'm in the notepad window, I hit ` it doesn't appear, 
> but on the <Windows key> down (not up, or press) the ` will appear in 
> the notepad window. When I release the windows key, the start menu 
> appears. Not sure if that helps at all.

Something in the layers of Windows software mentioned above.  Nothing that 
helps me, as far as I can see.

> 
> >> In the debug output:
> >> 00928     47  Notepad**Untitled - Notepad 329396 506b4 0 0 Wed 
> I know 329396 is the handle, what is the 506b4? Some numerical 
> representation of the class of object?

Hex version of window handle.


>
> 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?

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.

I hope one of these helps as I am about out of ideas.







Reply via email to