--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
>
> > 
> > I'm pretty sure vec.showmenu's window used to get keyboard focus.
> > I made use of that all the time with my changecase script.
> > 
> > Can be fixed?
> 
> 
> It works in my tests and I don't see any changes in the code in vec.c 
> (which sets PowerPro main window to foreground).
 
> What specifically are you doing -- how to you run the script that 
> shows the menu and what keys are you trying -- arrow, mnemonic, enter?

Hotkey that kicks of script, which includes


local hFocus = win.getfocus()
local iX =      win.left(hFocus) + (win.width(hFocus)  / 2)
local iY = win.top(hFocus) + (win.height(hFocus) / 2)


win.mouse("sa ab " ++  iX  ++ " " ++ iY)

;; centred on mouse, , colours
local men = ops_ordered.showmenu("", 1, "", "250 200 200") 

win.mouse("restore")








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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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/
 



Reply via email to