--- In [email protected], "dleidinger" <[EMAIL PROTECTED]> wrote:
>
> Hi Bruce,
> 
> i want to handle a left-klick command in outlook, because i have the 
> same problem, which is described in 
> http://tech.groups.yahoo.com/group/power-pro/message/30846.
> 
> Therefor i would like to get the relative mouse-position to find
> out, if the send-button was pressed. I think i can't use *EXEC
> WINDOWINFO to get this information within a script. Is there
> another way to get this information - maybe with a plugin ?

I don't use Outlook, but possibly you could use a different approach,
i.e., to test if the class and caption/text of the child window under
the mouse after a left click matches the known class and text of the
send button. 

you can get the text and class of the child window under the mouse with:

win.gettext(win.handlefrompoint(xmouse,ymouse))
win.class(win.handlefrompoint(xmouse,ymouse))

Regards,
Sheri


Reply via email to