--- In [email protected], sgp acs322000 <[EMAIL PROTECTED]> wrote:
>
> brucexs wrote:
> 
> > The only thing I wonder about is whether I should expand the 
> > win.gettext function to do the things misplugin can do, for 
> > completeness in the win plugin.
> 
> I vote for.

I second that.

> On a related issue which I never quite understood, I prefer
miscplugin.get_windowtext over 
> win.childtextbyindex because it seems to return more information.

Because they use different messages, I think.

I presumed I could achieve them by using Win.SendMessage(), with
getvaraddr if needed, or Win.SendMessageStr(). However, sometimes it
hangs PP, so I had to kill the target process via task manager, e.g.,

local sText
Win.SendMessageStr(hWnd, SB_GETTEXT, n, sText)

It seems to need a special care, maybe due to a security reason?

Sean





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/
 


Reply via email to