AutoHotkey Community

It is currently May 27th, 2012, 4:32 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: March 2nd, 2010, 12:51 pm 
Offline
User avatar

Joined: July 17th, 2008, 12:58 am
Posts: 270
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 Db
All my scripts are just in AutoHotkey v1.0.48.05


Last edited by Delusion on March 3rd, 2010, 10:50 am, edited 6 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 2nd, 2010, 4:19 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 2nd, 2010, 6:12 pm 
Offline
User avatar

Joined: July 17th, 2008, 12:58 am
Posts: 270
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

_________________
QuickSubs | Popcorn Movie Db
All my scripts are just in AutoHotkey v1.0.48.05


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 2nd, 2010, 6:29 pm 
Try reading through this post {and those following} to see if there's anything you can use/fix for your script.
http://www.autohotkey.com/forum/post-53808.html#53808

And this one had the same problem:
http://www.autohotkey.com/forum/topic11402.html


DBM


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 2nd, 2010, 7:32 pm 
Offline
User avatar

Joined: July 17th, 2008, 12:58 am
Posts: 270
da_boogie_man wrote:
Try reading through this post {and those following} to see if there's anything you can use/fix for your script.
http://www.autohotkey.com/forum/post-53808.html#53808

And this one had the same problem:
http://www.autohotkey.com/forum/topic11402.html


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 Db
All my scripts are just in AutoHotkey v1.0.48.05


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 3rd, 2010, 8:39 am 
from what i know high cpu usage is usually caused by loops
do you have any loops in the routine you use for righclicking?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 3rd, 2010, 10:50 am 
Offline
User avatar

Joined: July 17th, 2008, 12:58 am
Posts: 270
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

_________________
QuickSubs | Popcorn Movie Db
All my scripts are just in AutoHotkey v1.0.48.05


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Mickers, rbrtryn and 67 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group