Try IdleRun v1.0!I've added affinity to show the correct cpu usage on mutliple core/cpu systems. But I haven't got one, so please telle me if it works! Thanks f0dder!
Skrommel
Try IdleRun v1.0!
Have you tried Process from http://www.beyondlogic.org/solutions/processutil/processutil.htm? It can set the affinity of a process.
Anyone care to try IdleRun v1.2?
@jdd: When you first run IdleRun, it creates an ini-file next to the program. This file is edited using the tray menu, but you have to restart IdleRun to invoke the changes (lazy, I know).
Replace the CHECKCPULOAD procedure in IdleRun with the code below.CHECKCPULOAD:
load:=GETCPULOAD(numberofprocessors)
icon:=load/100*9
Menu,Tray,Tip,%load% `%
IfExist,%icon%.ico
Menu,Tray,Icon,%icon%.ico
If load>%cputhreshold%
If A_TimeIdlePhysical>=%idleduration%
{
If program<>
{
Input,singlekey,L1,{LControl}{RControl}{LAlt}{RAlt}{LShift}{RShift}{LWin}{RWin}{AppsKey}{F1}{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}{F10}{F11}{F12}{Left}{Right}{Up}{Down}{Home}{End}{PgUp}{PgDn}{Del}{Ins}{BS}{Capslock}{Numlock}{PrintScreen}{Pause}
Run,%program%
}
If message<>
MsgBox,0,%applicationname%,%message%
If exit=1
Goto,EXIT
}
Return 

Original address: https://www.donationcoder.com/forum/index.php?topic=6701.0