22Feb2011
Greetings.
I've just discovered dc.com.
I also do lots of AHK scripting ... love AHK...
I have LOTS of AHK scripts - a few are memory-resident/permanent.
I also do some CPU usage monitoring and (attempted) control.
One of my permanent scripts uses the following
I have three XP laptops - one auf Deutsch,
so I have to accomodate differing window titles sometimes.
Anyway, I have no idea how to determine the CPU usage of any given process
but would REALLY like to know ...
AHK/NP++ users might want to check out the following»
NP++AHK
Any helpful replies/insights appreciated.
Thank you.
Regards,
AEN
Æ
Greetings.
I've just discovered dc.com.
I also do lots of AHK scripting ... love AHK...
I have LOTS of AHK scripts - a few are memory-resident/permanent.
I also do some CPU usage monitoring and (attempted) control.
One of my permanent scripts uses the following
Code: (autohotkey)
SBWErr := 0
If WinExist("Windows Task ahk_class #32770") and (SlWS2w = 0)
{
If (RuWTMin = 1)
{
RuWTMin := 0
RunWait, aWTMrepo.exe, %IU%
}
SlWS2w := SlWS2/1000
ErrorLevel := 0
StatusBarWait, 100, %SlWS2w%, 2, Windows Task ahk_class #32770
If (ErrorLevel = 0)
If (ExEx = 1)
SBWErr := 1
}
else If (SlWS2w = 0)
SLEEP, %SlWS2%which checks if CPU usage at the given moment is 100%.I have three XP laptops - one auf Deutsch,
so I have to accomodate differing window titles sometimes.
Anyway, I have no idea how to determine the CPU usage of any given process
but would REALLY like to know ...
AHK/NP++ users might want to check out the following»
NP++AHK
Any helpful replies/insights appreciated.
Thank you.
Regards,
AEN
Æ











