Hi.
--- In [email protected], Cüneyt <[EMAIL PROTECTED]> wrote:

Just some remarks, if you don't mind:

> May I suggest, that you use Autorun list instead of 
HookWinodwsEvents. 

Using Autorun with c=XPCOM:EventWindow wouldn't change anything 
here, because XPCOM:EventWindow is simply used a bit too often by 
Moz.

> Target:
> c=XPCOM:EventWindow
> Action1:
> Script
> If
> (win.caption("autorun") eq "Prompt" and 
> miscplugin.Is_TextInWin("autorun",?"Please enter your password*") 
> 0)

This wouldn't work (OK, it might, if the EventWindow and the prompt 
appear close together and the EventWindow was tracked). 
1. Karen waited for the prompt-window, but its class is #32770. 
There is no window with the class XPCOM:EventWindow and the 
caption "Prompt". XPCOM:EventWindow caption is always: 
XPCOM:EventReceiver
2. XPCOM:EventWindow is an invisible message window (as the name 
suggests), don't know, if they are tracked by autorun at all. Moz 
creates one for every prompt and for every Ajax XMLRequest e.g.

I counted 13 on Karen's problem-page (when page is not in cache 
i.e.). Actually I expected more. I'm a bit disappointed. Come on, 
PPro should be able to handle that. Just joking...

Moral of the story is that you should be careful when tracking 
window classes.

Mockey







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