--- "paulggardner" <[EMAIL PROTECTED]> wrote:
>
> I've noticed that if I have a HookWindowsEvent defined, then after
> about 30 minutues of use, consisting mainly of Outlook and FireFox, PP
> will suddenly hit 100% and I have to kill it from the Task manager.
>
> If I disable the event, then the problems doesn't occur. If I don't
> run Outlook, then the problem doesn't occur. I've been in Outlook
> each time doing something, but it usually different things - moving
> email from folder to folder, or responding to email. Nothing
consistent.
>
> Any ideas? Tips on how to narrow down the problem? It has taken
> about 30 minutes to recreate each time, but I can do it (eventually)
> every time.
>
> Here is the command bar:
> [HookWindowEvents:Properties]
> Format1 = IconSize: 16 Position: Floating
> Format2 = MaxText: 531
> Format3 = Flat TopMost Border AllVDesks 3DFrame
> Format4 = TextCenter BarSize
>
> [1]
> Label = Login bars
> LCmd1 = runfile.LoginKeys(arg(4))
> MCmd1 = (none)
> RCmd1 = (none)
>
>
> Here is the script:
> ;This must be blank?
> static KeysLoaded
> if (arg(1) eq "Login") do
> if (KeysLoaded eq 0) do
> win.debug("Load Hot Keys")
> KeysLoaded = 1
> endif
> else
> if (KeysLoaded eq 1) do
> win.debug("UnLoad Hot Keys")
> KeysLoaded = 0
> endif
> endif
It seems that the code can be a little simplified as:
if(arg(1) eq "Login")
win.debug(ifelse(assign("KeysLoaded",not KeysLoaded),"Load Hot
Keys","Unload Hot Keys"))
Is it of help?
Sean
------------------------ 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/