> > -- David wrote:
> >
> > > Setup hotkeys for the F1 thru F12 keys that are only active when
> > > =powerpro (or menu class name - Alex can probably get
> that) and have
> > > powerpro send:
> >
> > > Keys {down}{enter}
> > > Keys {down 2}{enter}
> > > Etc
> >
> > The class name for popup menus is #32768, so you could use
> C=#32768 as
> > the target caption.
<snip>
> Thanks for the help guys, but it looks like powerpro does not
> consider one of its own menu-popups to be "the active window"
> ever, even if Windows does. I've tried putting the
> "=powerpro" as well as the "c=#32768" etc. in the target for
> the hotkey but it doesn't work. :-(
>
> Maybe PowerPro excludes its own pop-ups from the list of
> possible targets before it tries to match the target?
Yeah, you're right. Any method I tried doesn't seem to be able to send the
keystrokes to the powerpro menu. I tried *Keys, win.keys, and
keytrap.sendkeys
But focus would always shift back to the previoulsy focused window (but
still wouldn't fire the hotkey). Maybe this is related to the un-threadsafe
nature of powerpro? A powerpro menu is waiting to execute, and thus the keys
won't send until the powerpro menu has finished it's thing.
This is probably a ? for Bruce...
It was a good theory anyway =)
David Troesch | Atlanta, GA | ICQ# 2333123
Hollywood to control what you watch by 2005.
http://www.eff.org/broadcastflag/
Funstuff: If at first you dont succeed, skydiving is not for you.
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/