I have a script in HookWindowEvents that fixes some window related behaviour on my machine. When it's executed normally, it runs through just fine, however, when I kill explorer and restart it, I get errors about missing endifs and endfors. I uploaded the script at http:// chriss85.ch.funpic.de/scripts/fix.powerpro , would anyone mind checking it out or giving me a hint? I don't experience this every time, but maybe on 80% of my tests. Also Powerpro crashes after those error messages, indepent of wether I press cancel or ok in the error dialog.
Here's the error messages: >Missing endfor in script file > >Error occurred near line 17 of script Fix: > handle = word(list,j) > >Called from line 1 of script HookWindowEvents > >Press Cancel to end all running scripts. >Missing endif in script file > >Error occurred near line 17 of script Fix: > handle = word(list,j) > >Called from line 1 of script HookWindowEvents > >Press Cancel to end all running scripts.
