I sometimes experience the same problem and have found the following
solution:

In my experience, when KeyTrap / MouseTrap "freeze", it is usually
caused by a key becoming "virtually stuck". I have since set a button
one of my bars to display: "*Info expr (KeyTrap.GetPressedKeys)".
During proper operation, this only shows the numbers of the keys while
they are being pressed, once all keys are released, all numbers
disappear. Occasionally, however, KeyTrap/PowerPro (or Windows?) seems
to miss out on some key or other being released and considers it to be
held perpetually. In this instance, the number of a certain key will
be permanently displayed and both KeyTrap and MouseTrap will cease
working properly.

Once you notice this, you can fix it easily by executing (why not set
it as a command to the same *info button?) "KeyTrap.ResetKeys": All
numbers should be cleared and the plugins should function properly again.

I hope this works for you, too. I agree it would be great if somebody
could eliminate the cause of this annoyance.

Other than that, since it seems development of PowerPro is coming to
an end, I also wish to thank Bruce from my heart - I've benefited from
his work since the late days of Stiletto and like someone said
earlier, my computer experience has been made immeasurably more
agreeable and enjoyable. Thanks!

Philipp

--- In [email protected], "i_karaguz" <[EMAIL PROTECTED]> wrote:
>
> After some minutes or hours of usage Keytrap and Mousetrap
> unpredictably stop working. This happens at least once a day The
> problem persists on my two systems that run PowerPro.
> 
> To get them working again I have to re-login or restart the computer.
> Restarting Powerpro doesn't do it.
> 
> Sometimes, if I'm lucky, the plug-ins happen to work again after 20-60
> minutes if I continue using the computer.
> In 20% percent of the cases the attached script (see below) restores
> their function.
> 
> I think I've heard someone mentioning this problem long ago. Did
> anyone get behind it? I'd love to get some hints on how to fix my
> PowerPro.
> 
> Thank you!
> 
> Addendum: Makeshift script to revive KT+MT
> KeyTrap.enable(0)
> wait.for(50)
> KeyTrap.enable(0)
> wait.for(50)
> KeyTrap.enable(1)
> wait.for(50)
> KeyTrap.enable(0)
> *Configure Rehook
> wait.for(50)
> KeyTrap.enable(1)
> wait.for(50)
> KeyTrap.enable(1)
> wait.for(50)
> KeyTrap.enable(0)
> *Configure Rehook
> wait.for(50)
> KeyTrap.enable(1)
> wait.for(50)
> KeyTrap.trap(1)
>


Reply via email to