Thread: StarsReads AHK
View Single Post
  #56  
Old 11-29-2007, 09:28 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default Re: StarsReads AHK

how many tables / what CPU? (EDIT: May as well list any system specs you can) It shouldn't be at all harsh on a machine [img]/images/graemlins/frown.gif[/img]

Are you low enough on RAM that 30MB is hurting?

Easy enough to tune if it is the CPU getting hit tho - find this line:

<font class="small">Code:</font><hr /><pre>str := str . "SetTimer, updatepos, 1000`n"</pre><hr />

the 1000 - is ms for refresh, so 1 second is the default... change it to 3000 or something, that should cut CPU load to a third.


[ QUOTE ]

i close starsreads.ahk and they all stay there (i have to close them all separately)


[/ QUOTE ]

StarsReads.AHK itself is sort of a "parent" - it just watches for new tables, then creates a custom AHK for that table. The custom AHK will self-terminate when the table is closed. I should probably find a way to the "parent" kill all it's "children" when it dies itself... that would save some time.

What exactly is the LAG - the whole of Stars? Can you get any ideas from task manager where the problem is? I have no trouble running it on 12, but I haven't tried more than that yet.
Reply With Quote