Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

[Solved] Script causing high CPU usage


  • Please log in to reply
6 replies to this topic
Delusion
  • Members
  • 272 posts
  • Last active: Jul 13 2014 09:04 PM
  • Joined: 16 Jul 2008
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
QuickSubs | Popcorn Movie Catalog
All my scripts are just in AutoHotkey v1.0.48.05

  • Guests
  • Last active:
  • Joined: --
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

Delusion
  • Members
  • 272 posts
  • Last active: Jul 13 2014 09:04 PM
  • Joined: 16 Jul 2008

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
QuickSubs | Popcorn Movie Catalog
All my scripts are just in AutoHotkey v1.0.48.05

da_boogie_man
  • Guests
  • Last active:
  • Joined: --
Try reading through this post {and those following} to see if there's anything you can use/fix for your script.
http://www.autohotke...3808.html#53808

And this one had the same problem:
http://www.autohotke...topic11402.html


DBM

Delusion
  • Members
  • 272 posts
  • Last active: Jul 13 2014 09:04 PM
  • Joined: 16 Jul 2008

Try reading through this post {and those following} to see if there's anything you can use/fix for your script.
<!-- m -->http://www.autohotke...3808.html#53808<!-- m -->

And this one had the same problem:
<!-- m -->http://www.autohotke...topic11402.html<!-- m -->


DBM


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
QuickSubs | Popcorn Movie Catalog
All my scripts are just in AutoHotkey v1.0.48.05

  • Guests
  • Last active:
  • Joined: --
from what i know high cpu usage is usually caused by loops
do you have any loops in the routine you use for righclicking?