> You want to take a PowerPro action when a window captioned `Some
> Caption' is created.
>
> First, save the following lines to HookWindowEvents.PowerPro:
>
> ; ---
>
> If((Arg(1) == 4) && Arg(4) == "The Caption") Do
> ; Here go your commands to run when this window is created
> Win.Keys("%y")
> EndIf
>
> Arg(1) contains a number depending on whether a window was created,
> destroyed, resized, etc.; 4 means window creation.
>
> Arg(4) contains the caption of the window in question.
>
> Refer to the Help file for more details there.
>
> The script that you have saved will be where you place new rules
for
> other windows.
>
> ; ---
>
> After that, create the HookWindowEvents command list in your
> configuration and assign it one command:
>
> Command:
> .HookWindowEvents
>
> Parameters:
> (Arg(1), Arg(2), Arg(3), Arg(4))
>
> --
>
> Alex Peters / Melbourne, Australia
> PowerPro v4.1.00 / Windows XP
Thank you very much!! I was having a hard time understanding what
went in a script file and what went in the HookWindowEvents command
list. I will try what you suggested, but according to the help file,
i think it should be ARg(1) == 3. I'll try it each way. Thanks again.
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/