| View previous topic :: View next topic |
| Author |
Message |
Delusion
Joined: 16 Jul 2008 Posts: 210 Location: Greece/Rhodos
|
Posted: Tue Mar 02, 2010 11:51 am Post subject: [Solved] Script causing high CPU usage |
|
|
i recently noticed that my script is causing high cpu usage
as soon as i press rightclick on my gui my autohotkey process uses very much of my cpu and causes the gui etc to be unresponsive
i cant figure out what is causing it
i wasnt planing on posting any code but im really desperate
so i will just post the whole thing
but be prepared its a big script
Here it is : [link removed]
i hope someone more experienced can figure it out _________________ Popcorn Movie Db
Simple Apnea Trainer
Last edited by Delusion on Wed Mar 03, 2010 9:50 am; edited 6 times in total |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Mar 02, 2010 3:19 pm Post subject: |
|
|
i think i have read somewhere that you have to modify a few things for hlink and menu icons to work together
cant remember where though |
|
| Back to top |
|
 |
Delusion
Joined: 16 Jul 2008 Posts: 210 Location: Greece/Rhodos
|
Posted: Tue Mar 02, 2010 5:12 pm Post subject: |
|
|
| Anonymous wrote: | i think i have read somewhere that you have to modify a few things for hlink and menu icons to work together
cant remember where though |
i tried removing DockA, Menu Icons and Hlink which were the latest modules i had added...but it didnt make a difference _________________ Popcorn Movie Db
Simple Apnea Trainer |
|
| Back to top |
|
 |
da_boogie_man Guest
|
|
| Back to top |
|
 |
Delusion
Joined: 16 Jul 2008 Posts: 210 Location: Greece/Rhodos
|
Posted: Tue Mar 02, 2010 6:32 pm Post subject: |
|
|
thanks for your reply but unfortunately i didnt find anything to help me..i read through both topics and also tried window info but no luck
on a big script like mine i guess its gonna be hard to find what command is causing it _________________ Popcorn Movie Db
Simple Apnea Trainer |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Mar 03, 2010 7:39 am Post subject: |
|
|
from what i know high cpu usage is usually caused by loops
do you have any loops in the routine you use for righclicking? |
|
| Back to top |
|
 |
Delusion
Joined: 16 Jul 2008 Posts: 210 Location: Greece/Rhodos
|
Posted: Wed Mar 03, 2010 9:50 am Post subject: |
|
|
never mind i found it...i spend 3 whole hours yesterday going through all my code and doing tests
it was a "critical" i had added to a section lately
i removed it and everything is fine again _________________ Popcorn Movie Db
Simple Apnea Trainer |
|
| Back to top |
|
 |
|