--- Dave wrote:

> What I'm specifically after is an example of catching a hook from
> when a window is activated (event id 5 as it relates in the help)
> and how and where to actually test for that 5. I take it I then just
> use arg(1) thru arg(4) as I would any other expression. A quick
> example of say adding a star '*' to the end of a caption bar text of
> a newly created window (the event with id no 3 in the list)

I have one command in my HookWindowEvents list, which calls a script
with all of the information passed as arguments.

.HookWindowEvents (Arg(1), Arg(2), Arg(3), Arg(4))

I then have a HookWindowEvents script which deals with windows
individually, like so:

; DupeLocater welcome box

If((Arg(1) == 5) && (Arg(3) == "#32770") && (Arg(4) == "Welcome")) Do
    ...
EndIf

; Start menu�� All Users modification

If((Arg(1) == 5) && (Arg(3) == "#32770") && (Arg(4) == "Warning")) Do
    ...
EndIf

Etc.

-- 

Alex Peters / Melbourne, Australia
PowerPro v4.1.02 / Windows XP



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

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