brucexs wrote  (on 15.08.2006 22:15):
 > If you have time to experiment, perhaps you can look more closely at
 > disabling scripts one by one.

I'll do it.


>> hookwindowevents so I am guessing it is some kind of interaction 
> with 
>> one of your scripts which activates the performance issue.

These were the 2 scripts I called:

; note the "quit" :) this is just a leftover of my experiments
@HookWindowEventsActions
     Quit
     Local _event, _handle, _class, _caption
     _event = arg(1)
     _handle = arg(2)
     _class = arg(3)
     _caption = arg(4)
     ; many lines of comments here
     Quit


; note the "anywindow", is this one of the things you meant below?
@ThumbMinCleanup
     Local _event = arg(1)
     Local _handle = arg(2)
     If(_event == 1 or _event == 4)Do
         If(anywindow ("_cl_" ++ _handle))Do
             bar.close("_cl_" ++ _handle)
         EndIf
         [EMAIL PROTECTED](_handle)
     EndIf
     Quit


; here is the script called above, nothing fancy
@ThumbMinDeleteSlot
     If(not vec.exists(sGrid))
         Quit
     For(Local i = 0; i < sGrid.length; i++)
         If(sGrid[i] == arg(1))Do
             sGrid[i] = 0
         EndIf
     EndFor
     Quit


> I did change the system routine which looks up exe file names.  Its 
> hard to believe it would make a performance difference, but, just to 
> check, do a lot of your scripts look up exenames or match against 
> exenames?

You mean like anywindow, visiblewindow and/or "=exename" type of things? 
Yeeess, I have looots of them! For starters, my Autorun list is full of 
those.

FWIW, I experience especially long delays if I close windows, this might 
explain why disabling HookWindowEvents improves the performance.

I'll disable my scripts one by one and try to isolate the problem.

Thanks,
Cü


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